POST api/ActivityTypes
Create a new ActivityType
Request Information
URI Parameters
None.
Body Parameters
Serialized ActivityType record in the body of the request
ActivityTypeName | Description | Type | Additional 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. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Description": "sample string 3", "IsActive": true, "IsCustom": true, "ActivityTypeGuid": "07457eef-fb73-40b8-aed3-c33cb303ee9e", "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 } ] }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.