POST api/ActivityType
Creates new ActivityType.
Request Information
URI Parameters
None.
Body Parameters
ActivityType.
ActivityTypeName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
Id | integer |
None. |
|
Name | string |
None. |
|
ActivityTypeId | integer |
None. |
|
ActivityTypeName | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | date |
None. |
|
GlobalId | string |
None. |
|
ActivityCount | integer |
None. |
|
OrganizationId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "Id": 2, "Name": "sample string 3", "ActivityTypeId": 4, "ActivityTypeName": "sample string 5", "UpdatedDate": "2025-01-16T07:02:57.0226053+00:00", "UpdatedBy": "sample string 6", "UpdatedByName": "sample string 7", "CreatedBy": "sample string 8", "CreatedDate": "2025-01-16T07:02:57.0226053+00:00", "GlobalId": "sample string 9", "ActivityCount": 1, "OrganizationId": 1 }
application/xml, text/xml
Sample:
<ActivityType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <ActivityCount>1</ActivityCount> <ActivityTypeId>4</ActivityTypeId> <ActivityTypeName>sample string 5</ActivityTypeName> <CreatedBy>sample string 8</CreatedBy> <CreatedDate>2025-01-16T07:02:57.0226053+00:00</CreatedDate> <GlobalId>sample string 9</GlobalId> <Id>2</Id> <Name>sample string 3</Name> <OrganizationId>1</OrganizationId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 6</UpdatedBy> <UpdatedByName>sample string 7</UpdatedByName> <UpdatedDate>2025-01-16T07:02:57.0226053+00:00</UpdatedDate> </ActivityType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActivityTypeName | Description | Type | Additional information |
---|---|---|---|
UpdateType | string |
None. |
|
Id | integer |
None. |
|
Name | string |
None. |
|
ActivityTypeId | integer |
None. |
|
ActivityTypeName | string |
None. |
|
UpdatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedByName | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | date |
None. |
|
GlobalId | string |
None. |
|
ActivityCount | integer |
None. |
|
OrganizationId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "UpdateType": "sample string 1", "Id": 2, "Name": "sample string 3", "ActivityTypeId": 4, "ActivityTypeName": "sample string 5", "UpdatedDate": "2025-01-16T07:02:57.0226053+00:00", "UpdatedBy": "sample string 6", "UpdatedByName": "sample string 7", "CreatedBy": "sample string 8", "CreatedDate": "2025-01-16T07:02:57.0226053+00:00", "GlobalId": "sample string 9", "ActivityCount": 1, "OrganizationId": 1 }
application/xml, text/xml
Sample:
<ActivityType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models"> <ActivityCount>1</ActivityCount> <ActivityTypeId>4</ActivityTypeId> <ActivityTypeName>sample string 5</ActivityTypeName> <CreatedBy>sample string 8</CreatedBy> <CreatedDate>2025-01-16T07:02:57.0226053+00:00</CreatedDate> <GlobalId>sample string 9</GlobalId> <Id>2</Id> <Name>sample string 3</Name> <OrganizationId>1</OrganizationId> <UpdateType>sample string 1</UpdateType> <UpdatedBy>sample string 6</UpdatedBy> <UpdatedByName>sample string 7</UpdatedByName> <UpdatedDate>2025-01-16T07:02:57.0226053+00:00</UpdatedDate> </ActivityType>