POST api/AssessmentWFDefinition
Developed by : Swapnil rajurkar on 2/8/2021 Modified by : Divya Gaikwad (Project Workflow definition change to Assessment Workflow definition) This method is usefull for saving information about ClientAssessmentWFDefinition
Request Information
URI Parameters
None.
Body Parameters
CustomClientAssessmentWFDefinitionName | Description | Type | Additional information |
---|---|---|---|
ClientAssessmentWorkflowDefinitionID | globally unique identifier |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
CurrentState | globally unique identifier |
None. |
|
NextState | globally unique identifier |
None. |
|
Action | globally unique identifier |
None. |
|
Workflow | globally unique identifier |
None. |
|
ClientMasterID | globally unique identifier |
None. |
|
ClientName | string |
None. |
|
Roll | string |
None. |
|
AssessmentDomain | string |
None. |
|
CurrentStateName | string |
None. |
|
NextStateName | string |
None. |
|
ActionName | string |
None. |
|
WorkflowName | string |
None. |
|
AssessmentRoleID | globally unique identifier |
None. |
|
AssessmentName | globally unique identifier |
None. |
|
customClientAssessmentWFActionMasters | Collection of CustomClientAssessmentWFActionMaster |
None. |
|
CustomClientAssessmentCurrentWFStates | Collection of CustomClientAssessmentWFStates |
None. |
|
CustomClientAssessmentNextWFStates | Collection of CustomClientAssessmentWFStates |
None. |
|
AssessmentMasterID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClientAssessmentWorkflowDefinitionID": "10c2adcb-e361-481a-a6ff-30a9e2e742b3", "Name": "sample string 2", "Description": "sample string 3", "CurrentState": "90aaaf86-51b9-48d8-9045-ae2500f8eae7", "NextState": "cd27f5c0-dc79-45d9-a745-58be48cd852e", "Action": "2be46e11-d7bf-4ba5-b676-f8b1abb5ee7e", "Workflow": "25b0cd5d-625b-4621-a6cc-44c40412c941", "ClientMasterID": "afda39ab-08b7-4995-acfe-b1339c3d5003", "ClientName": "sample string 9", "Roll": "sample string 10", "AssessmentDomain": "sample string 11", "CurrentStateName": "sample string 12", "NextStateName": "sample string 13", "ActionName": "sample string 14", "WorkflowName": "sample string 15", "AssessmentRoleID": "e0dbfcae-0fcd-48b8-83aa-f7dfb22288df", "AssessmentName": "a2567357-648e-49c8-8063-76d4b18a6329", "customClientAssessmentWFActionMasters": [ { "ClientAssessmentWFActionMasterID": "e6e232ff-4ae7-4455-b1fe-b1970e7891f9", "ActionValue": "sample string 2", "ActionDescription": "sample string 3", "ClientMasterID": "c78dd53c-c471-4258-af5b-5f0b1fc64dd8", "ClientName": "sample string 5", "AssessmentActionsStandardMasterID": "d7c85c1f-5d95-4508-b081-8506864fcbf7" }, { "ClientAssessmentWFActionMasterID": "e6e232ff-4ae7-4455-b1fe-b1970e7891f9", "ActionValue": "sample string 2", "ActionDescription": "sample string 3", "ClientMasterID": "c78dd53c-c471-4258-af5b-5f0b1fc64dd8", "ClientName": "sample string 5", "AssessmentActionsStandardMasterID": "d7c85c1f-5d95-4508-b081-8506864fcbf7" } ], "CustomClientAssessmentCurrentWFStates": [ { "ClientAssessmentWFStatesID": "0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "472e9f80-8247-4ab8-93d0-23c20d4b65b8", "RoleName": "sample string 5", "ClientMasterID": "f5e21385-77de-46dc-9e8a-20462cbae25c", "ClientName": "sample string 7", "ClientAssessmentMasterID": "a22bda9e-d4ca-4bf6-ba75-bb526416bb02", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8" }, { "ClientAssessmentWFStatesID": "0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "472e9f80-8247-4ab8-93d0-23c20d4b65b8", "RoleName": "sample string 5", "ClientMasterID": "f5e21385-77de-46dc-9e8a-20462cbae25c", "ClientName": "sample string 7", "ClientAssessmentMasterID": "a22bda9e-d4ca-4bf6-ba75-bb526416bb02", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8" } ], "CustomClientAssessmentNextWFStates": [ { "ClientAssessmentWFStatesID": "0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "472e9f80-8247-4ab8-93d0-23c20d4b65b8", "RoleName": "sample string 5", "ClientMasterID": "f5e21385-77de-46dc-9e8a-20462cbae25c", "ClientName": "sample string 7", "ClientAssessmentMasterID": "a22bda9e-d4ca-4bf6-ba75-bb526416bb02", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8" }, { "ClientAssessmentWFStatesID": "0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "472e9f80-8247-4ab8-93d0-23c20d4b65b8", "RoleName": "sample string 5", "ClientMasterID": "f5e21385-77de-46dc-9e8a-20462cbae25c", "ClientName": "sample string 7", "ClientAssessmentMasterID": "a22bda9e-d4ca-4bf6-ba75-bb526416bb02", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8" } ], "AssessmentMasterID": "dea4f427-0d5d-4262-8e06-66df6ab9ad87" }
application/xml, text/xml
Sample:
<CustomClientAssessmentWFDefinition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.CustomModel"> <Action>2be46e11-d7bf-4ba5-b676-f8b1abb5ee7e</Action> <ActionName>sample string 14</ActionName> <AssessmentDomain>sample string 11</AssessmentDomain> <AssessmentMasterID>dea4f427-0d5d-4262-8e06-66df6ab9ad87</AssessmentMasterID> <AssessmentName>a2567357-648e-49c8-8063-76d4b18a6329</AssessmentName> <AssessmentRoleID>e0dbfcae-0fcd-48b8-83aa-f7dfb22288df</AssessmentRoleID> <ClientAssessmentWorkflowDefinitionID>10c2adcb-e361-481a-a6ff-30a9e2e742b3</ClientAssessmentWorkflowDefinitionID> <ClientMasterID>afda39ab-08b7-4995-acfe-b1339c3d5003</ClientMasterID> <ClientName>sample string 9</ClientName> <CurrentState>90aaaf86-51b9-48d8-9045-ae2500f8eae7</CurrentState> <CurrentStateName>sample string 12</CurrentStateName> <CustomClientAssessmentCurrentWFStates> <CustomClientAssessmentWFStates> <AssessmentStatesStandardMasterID>9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>a22bda9e-d4ca-4bf6-ba75-bb526416bb02</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>472e9f80-8247-4ab8-93d0-23c20d4b65b8</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9</ClientAssessmentWFStatesID> <ClientMasterID>f5e21385-77de-46dc-9e8a-20462cbae25c</ClientMasterID> <ClientName>sample string 7</ClientName> <RoleName>sample string 5</RoleName> <StateDescription>sample string 3</StateDescription> <StateValue>sample string 2</StateValue> </CustomClientAssessmentWFStates> <CustomClientAssessmentWFStates> <AssessmentStatesStandardMasterID>9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>a22bda9e-d4ca-4bf6-ba75-bb526416bb02</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>472e9f80-8247-4ab8-93d0-23c20d4b65b8</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9</ClientAssessmentWFStatesID> <ClientMasterID>f5e21385-77de-46dc-9e8a-20462cbae25c</ClientMasterID> <ClientName>sample string 7</ClientName> <RoleName>sample string 5</RoleName> <StateDescription>sample string 3</StateDescription> <StateValue>sample string 2</StateValue> </CustomClientAssessmentWFStates> </CustomClientAssessmentCurrentWFStates> <CustomClientAssessmentNextWFStates> <CustomClientAssessmentWFStates> <AssessmentStatesStandardMasterID>9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>a22bda9e-d4ca-4bf6-ba75-bb526416bb02</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>472e9f80-8247-4ab8-93d0-23c20d4b65b8</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9</ClientAssessmentWFStatesID> <ClientMasterID>f5e21385-77de-46dc-9e8a-20462cbae25c</ClientMasterID> <ClientName>sample string 7</ClientName> <RoleName>sample string 5</RoleName> <StateDescription>sample string 3</StateDescription> <StateValue>sample string 2</StateValue> </CustomClientAssessmentWFStates> <CustomClientAssessmentWFStates> <AssessmentStatesStandardMasterID>9d6afc8d-7fbc-47ff-9cdc-cc1d902978a8</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>a22bda9e-d4ca-4bf6-ba75-bb526416bb02</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>472e9f80-8247-4ab8-93d0-23c20d4b65b8</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>0ea0eb72-acdc-49d2-acb1-f3ac2f1bafc9</ClientAssessmentWFStatesID> <ClientMasterID>f5e21385-77de-46dc-9e8a-20462cbae25c</ClientMasterID> <ClientName>sample string 7</ClientName> <RoleName>sample string 5</RoleName> <StateDescription>sample string 3</StateDescription> <StateValue>sample string 2</StateValue> </CustomClientAssessmentWFStates> </CustomClientAssessmentNextWFStates> <Description>sample string 3</Description> <Name>sample string 2</Name> <NextState>cd27f5c0-dc79-45d9-a745-58be48cd852e</NextState> <NextStateName>sample string 13</NextStateName> <Roll>sample string 10</Roll> <Workflow>25b0cd5d-625b-4621-a6cc-44c40412c941</Workflow> <WorkflowName>sample string 15</WorkflowName> <customClientAssessmentWFActionMasters> <CustomClientAssessmentWFActionMaster> <ActionDescription>sample string 3</ActionDescription> <ActionValue>sample string 2</ActionValue> <AssessmentActionsStandardMasterID>d7c85c1f-5d95-4508-b081-8506864fcbf7</AssessmentActionsStandardMasterID> <ClientAssessmentWFActionMasterID>e6e232ff-4ae7-4455-b1fe-b1970e7891f9</ClientAssessmentWFActionMasterID> <ClientMasterID>c78dd53c-c471-4258-af5b-5f0b1fc64dd8</ClientMasterID> <ClientName>sample string 5</ClientName> </CustomClientAssessmentWFActionMaster> <CustomClientAssessmentWFActionMaster> <ActionDescription>sample string 3</ActionDescription> <ActionValue>sample string 2</ActionValue> <AssessmentActionsStandardMasterID>d7c85c1f-5d95-4508-b081-8506864fcbf7</AssessmentActionsStandardMasterID> <ClientAssessmentWFActionMasterID>e6e232ff-4ae7-4455-b1fe-b1970e7891f9</ClientAssessmentWFActionMasterID> <ClientMasterID>c78dd53c-c471-4258-af5b-5f0b1fc64dd8</ClientMasterID> <ClientName>sample string 5</ClientName> </CustomClientAssessmentWFActionMaster> </customClientAssessmentWFActionMasters> </CustomClientAssessmentWFDefinition>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.