POST api/collectionsactionattributes
Insert a new CollectionsActionAttribute
Request Information
URI Parameters
None.
Body Parameters
CollectionsActionAttributeViewModel>ViewModel
CollectionsActionAttributeViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Id |
integer |
None. |
ParentAttributeId |
ParentAttributeId |
integer |
None. |
ActionId |
ActionId |
integer |
None. |
Name |
Name |
string |
None. |
DisplayOrder |
DisplayOrder |
integer |
None. |
DataTypeId |
DataTypeId |
integer |
None. |
DefaultValue |
DefaultValue |
string |
None. |
IsActive |
IsActive |
boolean |
None. |
IsNonTemplateSpecific |
IsNonTemplateSpecific |
boolean |
None. |
Request Formats
application/json, text/json
{ "id": 1, "parentAttributeId": 1, "actionId": 2, "name": "sample string 3", "displayOrder": 4, "dataTypeId": 5, "defaultValue": "sample string 6", "isActive": true, "isNonTemplateSpecific": true }
application/xml, text/xml
<CollectionsActionAttributeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <ActionId>2</ActionId> <DataTypeId>5</DataTypeId> <DefaultValue>sample string 6</DefaultValue> <DisplayOrder>4</DisplayOrder> <Id>1</Id> <IsActive>true</IsActive> <IsNonTemplateSpecific>true</IsNonTemplateSpecific> <Name>sample string 3</Name> <ParentAttributeId>1</ParentAttributeId> </CollectionsActionAttributeViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
CollectionsActionAttributeViewModel>ViewModel
CollectionsActionAttributeViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
Id |
integer |
None. |
ParentAttributeId |
ParentAttributeId |
integer |
None. |
ActionId |
ActionId |
integer |
None. |
Name |
Name |
string |
None. |
DisplayOrder |
DisplayOrder |
integer |
None. |
DataTypeId |
DataTypeId |
integer |
None. |
DefaultValue |
DefaultValue |
string |
None. |
IsActive |
IsActive |
boolean |
None. |
IsNonTemplateSpecific |
IsNonTemplateSpecific |
boolean |
None. |
Response Formats
application/json, text/json
{ "id": 1, "parentAttributeId": 1, "actionId": 2, "name": "sample string 3", "displayOrder": 4, "dataTypeId": 5, "defaultValue": "sample string 6", "isActive": true, "isNonTemplateSpecific": true }
application/xml, text/xml
<CollectionsActionAttributeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <ActionId>2</ActionId> <DataTypeId>5</DataTypeId> <DefaultValue>sample string 6</DefaultValue> <DisplayOrder>4</DisplayOrder> <Id>1</Id> <IsActive>true</IsActive> <IsNonTemplateSpecific>true</IsNonTemplateSpecific> <Name>sample string 3</Name> <ParentAttributeId>1</ParentAttributeId> </CollectionsActionAttributeViewModel>