POST api/collectionsbuildingactionstagelinks
Insert a new CollectionsBuildingActionStageLink
Request Information
URI Parameters
None.
Body Parameters
CollectionsBuildingActionStageLinkCreateViewModel>ViewModel
CollectionsBuildingActionStageLinkCreateViewModelName | Description | Type | Additional information |
---|---|---|---|
BuildingStageId |
Parent's action stage link id |
integer |
Required Range: inclusive between 1 and 2147483647 |
ActionId |
ActionId |
integer |
Required Range: inclusive between 1 and 2147483647 |
StageActionAttributeLinks |
Stage Action Attribute Links to create |
Collection of CollectionsBuildingStageActionAttributeCreateLinkViewModel |
None. |
Request Formats
application/json, text/json
{ "buildingStageId": 1, "actionId": 2, "stageActionAttributeLinks": [ { "actionAttributeId": 1, "value": "sample string 2" }, { "actionAttributeId": 1, "value": "sample string 2" } ] }
application/xml, text/xml
<CollectionsBuildingActionStageLinkCreateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <ActionId>2</ActionId> <StageActionAttributeLinks> <CollectionsBuildingStageActionAttributeCreateLinkViewModel> <ActionAttributeId>1</ActionAttributeId> <Value>sample string 2</Value> </CollectionsBuildingStageActionAttributeCreateLinkViewModel> <CollectionsBuildingStageActionAttributeCreateLinkViewModel> <ActionAttributeId>1</ActionAttributeId> <Value>sample string 2</Value> </CollectionsBuildingStageActionAttributeCreateLinkViewModel> </StageActionAttributeLinks> <BuildingStageId>1</BuildingStageId> </CollectionsBuildingActionStageLinkCreateViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
CollectionsBuildingActionStageLinkViewModel>ViewModel
CollectionsBuildingActionStageLinkViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
BuildingActionStageLinkId |
integer |
None. |
BuildingStageId |
BuildingStageId |
integer |
None. |
ActionStageLinkId |
ActionStageLinkId |
integer |
None. |
ActionId |
ActionId |
integer |
None. |
DisplayOrder |
DisplayOrder |
integer |
None. |
IsActive |
IsActive |
boolean |
None. |
IsDeleted |
IsDeleted |
boolean |
None. |
CreatedBy |
CreatedBy |
integer |
None. |
CreatedOn |
CreatedOn |
date |
None. |
ModifiedBy |
ModifiedBy |
integer |
None. |
ModifiedOn |
ModifiedOn |
date |
None. |
Response Formats
application/json, text/json
{ "id": 1, "buildingStageId": 2, "actionStageLinkId": 1, "actionId": 3, "displayOrder": 4, "isActive": true, "isDeleted": true, "createdBy": 7, "createdOn": "2025-04-03T17:58:35.2229223-04:00", "modifiedBy": 1, "modifiedOn": "2025-04-03T17:58:35.2229223-04:00" }
application/xml, text/xml
<CollectionsBuildingActionStageLinkViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <ActionId>3</ActionId> <ActionStageLinkId>1</ActionStageLinkId> <BuildingStageId>2</BuildingStageId> <CreatedBy>7</CreatedBy> <CreatedOn>2025-04-03T17:58:35.2229223-04:00</CreatedOn> <DisplayOrder>4</DisplayOrder> <Id>1</Id> <IsActive>true</IsActive> <IsDeleted>true</IsDeleted> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-04-03T17:58:35.2229223-04:00</ModifiedOn> </CollectionsBuildingActionStageLinkViewModel>