POST General/getactivitystatuses

Get changed Activity Status data.

Request Information

URI Parameters

None.

Body Parameters

GetVersionedRequest
NameDescriptionTypeAdditional information
versionID

Version ID

integer

Required

token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "versionID": 1,
  "token": "af951632-6388-4106-9d71-c6122f63ef47"
}

application/xml, text/xml

Sample:
<GetVersionedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.General">
  <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">af951632-6388-4106-9d71-c6122f63ef47</token>
  <versionID>1</versionID>
</GetVersionedRequest>

Response Information

Resource Description

ActivityStatusesList
NameDescriptionTypeAdditional information
ActivityStatuses

Collection of ActivityStatus

None.

code

API result code

integer

None.

error

API error message

string

None.

VersionID

integer

None.

ExpirationInDays

integer

None.

APIVersion

API Version

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "VersionID": 1,
  "ExpirationInDays": 2,
  "APIVersion": 3,
  "ActivityStatuses": [
    {
      "ActivityStatusID": 1,
      "ActivityStatusName": "sample string 2",
      "Kind": "sample string 3"
    },
    {
      "ActivityStatusID": 1,
      "ActivityStatusName": "sample string 2",
      "Kind": "sample string 3"
    }
  ],
  "code": 200,
  "error": "sample string 1"
}

application/xml, text/xml

Sample:
<ActivityStatusesList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile">
  <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">3</APIVersion>
  <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error>
  <ExpirationInDays>2</ExpirationInDays>
  <VersionID>1</VersionID>
  <ActivityStatuses>
    <ActivityStatus>
      <Kind>sample string 3</Kind>
      <ActivityStatusID>1</ActivityStatusID>
      <ActivityStatusName>sample string 2</ActivityStatusName>
    </ActivityStatus>
    <ActivityStatus>
      <Kind>sample string 3</Kind>
      <ActivityStatusID>1</ActivityStatusID>
      <ActivityStatusName>sample string 2</ActivityStatusName>
    </ActivityStatus>
  </ActivityStatuses>
</ActivityStatusesList>