PUT api/workflowstatus/{workflowStatusId}
PUT: api/workflowstatus/{workflowStatusId} Edit a Workflow Status
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| workflowStatusId |
WorkflowStatusViewModel |
integer |
Required |
Body Parameters
WorkflowStatusViewModel
UpdateWorkflowStatusViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkflowStatusId |
WorkflowStatusId |
integer |
None. |
| UpdateReferences |
UpdateReferences |
boolean |
None. |
| Name |
Name |
string |
Required Max length: 25 |
| Description |
Description |
string |
Max length: 100 |
Request Formats
application/json, text/json
{
"workflowStatusId": 1,
"updateReferences": true,
"name": "sample string 3",
"description": "sample string 4"
}
application/xml, text/xml
<UpdateWorkflowStatusViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <Description>sample string 4</Description> <Name>sample string 3</Name> <UpdateReferences>true</UpdateReferences> <WorkflowStatusId>1</WorkflowStatusId> </UpdateWorkflowStatusViewModel>
application/x-www-form-urlencoded
Response Information
Resource Description
WorkflowStatusViewModel
WorkflowStatusViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| WorkflowStatusId |
WorkflowStatusId |
integer |
None. |
| IsModifiable |
IsModifiable |
boolean |
None. |
| Name |
Name |
string |
Required Max length: 25 |
| Description |
Description |
string |
Max length: 100 |
Response Formats
application/json, text/json
{
"workflowStatusId": 1,
"isModifiable": true,
"name": "sample string 3",
"description": "sample string 4"
}
application/xml, text/xml
<WorkflowStatusViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <Description>sample string 4</Description> <Name>sample string 3</Name> <IsModifiable>true</IsModifiable> <WorkflowStatusId>1</WorkflowStatusId> </WorkflowStatusViewModel>