| GET | /api/services/users | Search users based on a token found in either first name, last name, or email address. | If ServiceGuid, CollectionGuid and SiteGuid are specified, they need to match. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceGuid | query | Guid | No | If ServiceGuid is specified then the search is limited to users of that service. |
| CollectionGuid | query | Guid | No | If CollectionGuid is specified then the search is limited to users of services in that collection. |
| SiteGuid | query | Guid | No | If SiteGuid is specified then the search is limited to users of services in that site. |
| Token | query | String | Yes | The search term is case insensitive. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Results | body | SearchServiceUserResult[] | No | |
| ResponseStatus | form | ResponseStatus | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceUser | body | ServiceUser | No | |
| Service | body | Service | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceUserGuid | body | Guid | No | |
| EmailAddress | form | string | No | |
| CreatedOn | body | DateTime | No | |
| FirstName | form | string | No | |
| LastName | form | string | No | |
| Status | form | string | No | Allowable Values
|
| RegisteredOn | body | DateTime | No | |
| PackageExpiry | body | DateTime | No | |
| Language | form | string | No | Allowable Values
|
| EmailAliases | form | Dictionary<string, string> | No | |
| GroupName | form | string | No | |
| GroupGuid | body | Guid | No | |
| GroupType | form | string | No | Allowable Values
|
| EnableCampaigns | form | bool | No | Allowable Values
|
| EnableESignatures | form | bool | No | Allowable Values
|
| LastLogin | body | DateTime | No | |
| LastIpAddress | form | string | No | |
| CurrentToolbarVersion | form | string | No | |
| PasswordExpiry | form | DateTime? | No | |
| PasswordThrottled | form | bool | No | |
| DefaultSecure | form | string | No | Allowable Values
|
| BlacklistMode | form | string | No | Allowable Values
|
| EnableMfa | form | bool | No | Allowable Values
|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServiceGuid | body | Guid | No | |
| Name | form | string | No | |
| Status | form | ServiceStatus | No | Allowable Values
|
| ServiceCode | form | string | No | |
| ReferenceId | form | string | No | |
| PrimaryDomain | form | string | No | |
| Urls | form | Dictionary<ServiceUrlType, string> | No | Allowable Values
|
| CreatedOn | body | DateTime | No | |
| TrialEndDate | body | DateTime | No | |
| EffectiveDate | body | DateTime | No | |
| InitialTerm | body | Integer | No | |
| CollectionGuid | body | Guid | No | |
| SiteGuid | body | Guid | No | |
| ClientGuid | body | Guid | No | |
| ResellerGuid | body | Guid | No | |
| ResellerName | form | string | No | |
| PartnerGuid | body | Guid | No | |
| PartnerName | form | string | No |
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/services/users HTTP/1.1 Host: api.secure-messaging.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{
"results": [
{
"serviceUser": {
"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
},
"service": {
"serviceGuid": "00000000000000000000000000000000",
"name": "String",
"status": "Blocked",
"serviceCode": "String",
"referenceId": "String",
"primaryDomain": "String",
"urls": {
"MessagingApi": "String"
},
"createdOn": "0001-01-01T00:00:00Z",
"trialEndDate": "0001-01-01T00:00:00Z",
"effectiveDate": "0001-01-01T00:00:00Z",
"initialTerm": 0,
"collectionGuid": "00000000000000000000000000000000",
"siteGuid": "00000000000000000000000000000000",
"clientGuid": "00000000000000000000000000000000",
"resellerGuid": "00000000000000000000000000000000",
"resellerName": "String",
"partnerGuid": "00000000000000000000000000000000",
"partnerName": "String"
}
}
],
"responseStatus": {
"errorCode": "String",
"message": "String",
"stackTrace": "String",
"errors": [
{
"errorCode": "String",
"fieldName": "String",
"message": "String",
"meta": {
"String": "String"
}
}
],
"meta": {
"String": "String"
}
},
"serviceUser": {
"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
},
"service": {
"serviceGuid": "00000000000000000000000000000000",
"name": "String",
"status": "Blocked",
"serviceCode": "String",
"referenceId": "String",
"primaryDomain": "String",
"urls": {
"MessagingApi": "String"
},
"createdOn": "0001-01-01T00:00:00Z",
"trialEndDate": "0001-01-01T00:00:00Z",
"effectiveDate": "0001-01-01T00:00:00Z",
"initialTerm": 0,
"collectionGuid": "00000000000000000000000000000000",
"siteGuid": "00000000000000000000000000000000",
"clientGuid": "00000000000000000000000000000000",
"resellerGuid": "00000000000000000000000000000000",
"resellerName": "String",
"partnerGuid": "00000000000000000000000000000000",
"partnerName": "String"
}
}