CCC API v8.4.0.0

<back to all web services

GetServiceUser

The following routes are available for this service:
GET/api/services/{ServiceGuid}/users/singleGet a specific user.Get a specific user for a service. One of ServiceUserGuid or EmailAddress is required. If both are supplied, the EmailAddess must match the ServiceUserGuid.
GetServiceUser Parameters:
NameParameterData TypeRequiredDescription
ServiceGuidpathGuidYes
ServiceUserGuidqueryGuidNo
EmailAddressqueryStringNo
ServiceUserResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ServiceUser Parameters:
NameParameterData TypeRequiredDescription
ServiceUserGuidbodyGuidNo
EmailAddressformstringNo
CreatedOnbodyDateTimeNo
FirstNameformstringNo
LastNameformstringNo
StatusformstringNo

Allowable Values

  • Active
  • Disabled
RegisteredOnbodyDateTimeNo
PackageExpirybodyDateTimeNo
LanguageformstringNo

Allowable Values

  • en
  • fr
  • de
  • es
  • ja
  • nl
  • zh
EmailAliasesformDictionary<string, string>No
GroupNameformstringNo
GroupGuidbodyGuidNo
GroupTypeformstringNo

Allowable Values

  • Guest
  • Professional
EnableCampaignsformboolNo

Allowable Values

  • true
  • false
EnableESignaturesformboolNo

Allowable Values

  • true
  • false
LastLoginbodyDateTimeNo
LastIpAddressformstringNo
CurrentToolbarVersionformstringNo
PasswordExpiryformDateTime?No
PasswordThrottledformboolNo
DefaultSecureformstringNo

Allowable Values

  • Never
  • BasedOnKeywords
  • Always
BlacklistModeformstringNo

Allowable Values

  • Never
  • SecureOnly
  • SecureAndBasic
EnableMfaformboolNo

Allowable Values

  • true
  • false

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /api/services/{ServiceGuid}/users/single HTTP/1.1 
Host: api.secure-messaging.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{
  "responseStatus": {
    "errorCode": "String",
    "message": "String",
    "stackTrace": "String",
    "errors": [
      {
        "errorCode": "String",
        "fieldName": "String",
        "message": "String",
        "meta": {
          "String": "String"
        }
      }
    ],
    "meta": {
      "String": "String"
    }
  },
  "serviceUserGuid": "00000000000000000000000000000000",
  "emailAddress": "String",
  "createdOn": "0001-01-01T00:00:00Z",
  "firstName": "String",
  "lastName": "String",
  "status": "String",
  "registeredOn": "0001-01-01T00:00:00Z",
  "packageExpiry": "0001-01-01T00:00:00Z",
  "language": "String",
  "emailAliases": {
    "String": "String"
  },
  "groupName": "String",
  "groupGuid": "00000000000000000000000000000000",
  "groupType": "String",
  "enableCampaigns": false,
  "enableESignatures": false,
  "lastLogin": "0001-01-01T00:00:00Z",
  "lastIpAddress": "String",
  "currentToolbarVersion": "String",
  "passwordExpiry": "0001-01-01T00:00:00Z",
  "passwordThrottled": false,
  "defaultSecure": "String",
  "blacklistMode": "String",
  "enableMfa": false
}