GET api/ActivityTypes/{id}

Get an Activity type by Id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

ActivityType
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Description

string

None.

IsActive

boolean

None.

IsCustom

boolean

None.

ActivityTypeGuid

globally unique identifier

None.

Image

string

None.

HistoryTypes

Collection of HistoryType

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "IsActive": true,
  "IsCustom": true,
  "ActivityTypeGuid": "91acc9b2-370b-4b7b-9d1e-d0b8fa78d4df",
  "Image": "sample string 7",
  "HistoryTypes": [
    {
      "Name": "sample string 1",
      "HistoryTypeId": 2,
      "Description": "sample string 3",
      "ActivityTypeID": "sample string 4",
      "ActivityTypeName": "sample string 5",
      "IsActive": true,
      "IsCustom": true,
      "IsDefault": true,
      "IsUserRecordable": true
    },
    {
      "Name": "sample string 1",
      "HistoryTypeId": 2,
      "Description": "sample string 3",
      "ActivityTypeID": "sample string 4",
      "ActivityTypeName": "sample string 5",
      "IsActive": true,
      "IsCustom": true,
      "IsDefault": true,
      "IsUserRecordable": true
    }
  ]
}