PUT api/ActivityTypes/{id}
Fully update an existing ActivityType
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
ActivityType Id |
integer |
Required |
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": "36106d38-341a-4a39-b603-397bcb6d0b60", "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.