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": "61a9bc15-a4a3-4b4b-b7e2-462ba9973460", "Name": "sample string 2", "Description": "sample string 3", "CurrentState": "35bb9f13-35bb-4898-a05d-d68cc697b27d", "NextState": "194ed16e-6681-4112-8d54-30433f20789c", "Action": "d9fa8f02-7f49-4c63-ba14-b50dc1335bc7", "Workflow": "209c5fd2-753f-4827-ab11-f5407ea3870d", "ClientMasterID": "8dbf142a-b7c6-47de-977f-92d9ae52352d", "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": "375c47f2-d578-46ba-90b2-a397f14e3713", "AssessmentName": "2b58c62c-2345-4923-b76c-db08030c78ff", "customClientAssessmentWFActionMasters": [ { "ClientAssessmentWFActionMasterID": "8c2a619e-cdad-468d-978e-b587c99370b8", "ActionValue": "sample string 2", "ActionDescription": "sample string 3", "ClientMasterID": "66d3cb0c-6895-443f-b85b-19ef2897cd13", "ClientName": "sample string 5", "AssessmentActionsStandardMasterID": "cf07f8a4-9cc3-407b-a672-bd413ba5554f" }, { "ClientAssessmentWFActionMasterID": "8c2a619e-cdad-468d-978e-b587c99370b8", "ActionValue": "sample string 2", "ActionDescription": "sample string 3", "ClientMasterID": "66d3cb0c-6895-443f-b85b-19ef2897cd13", "ClientName": "sample string 5", "AssessmentActionsStandardMasterID": "cf07f8a4-9cc3-407b-a672-bd413ba5554f" } ], "CustomClientAssessmentCurrentWFStates": [ { "ClientAssessmentWFStatesID": "7e032fec-929f-4f38-acef-1d1b9f92c58a", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "5e88423d-2506-4e48-882a-b9fea712559e", "RoleName": "sample string 5", "ClientMasterID": "a940438c-ef78-4e97-a292-1c6f35b07ac6", "ClientName": "sample string 7", "ClientAssessmentMasterID": "ea657cb7-315c-4ea0-a67a-34069175ef88", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "05d217de-6175-4899-a9c3-3acf4a0a1351" }, { "ClientAssessmentWFStatesID": "7e032fec-929f-4f38-acef-1d1b9f92c58a", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "5e88423d-2506-4e48-882a-b9fea712559e", "RoleName": "sample string 5", "ClientMasterID": "a940438c-ef78-4e97-a292-1c6f35b07ac6", "ClientName": "sample string 7", "ClientAssessmentMasterID": "ea657cb7-315c-4ea0-a67a-34069175ef88", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "05d217de-6175-4899-a9c3-3acf4a0a1351" } ], "CustomClientAssessmentNextWFStates": [ { "ClientAssessmentWFStatesID": "7e032fec-929f-4f38-acef-1d1b9f92c58a", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "5e88423d-2506-4e48-882a-b9fea712559e", "RoleName": "sample string 5", "ClientMasterID": "a940438c-ef78-4e97-a292-1c6f35b07ac6", "ClientName": "sample string 7", "ClientAssessmentMasterID": "ea657cb7-315c-4ea0-a67a-34069175ef88", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "05d217de-6175-4899-a9c3-3acf4a0a1351" }, { "ClientAssessmentWFStatesID": "7e032fec-929f-4f38-acef-1d1b9f92c58a", "StateValue": "sample string 2", "StateDescription": "sample string 3", "ClientAssessmentRolesMasterID": "5e88423d-2506-4e48-882a-b9fea712559e", "RoleName": "sample string 5", "ClientMasterID": "a940438c-ef78-4e97-a292-1c6f35b07ac6", "ClientName": "sample string 7", "ClientAssessmentMasterID": "ea657cb7-315c-4ea0-a67a-34069175ef88", "ClientAssessmentName": "sample string 9", "AssessmentStatesStandardMasterID": "05d217de-6175-4899-a9c3-3acf4a0a1351" } ], "AssessmentMasterID": "35695ac8-fc8d-4497-9a0e-7ef532890af0" }
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>d9fa8f02-7f49-4c63-ba14-b50dc1335bc7</Action> <ActionName>sample string 14</ActionName> <AssessmentDomain>sample string 11</AssessmentDomain> <AssessmentMasterID>35695ac8-fc8d-4497-9a0e-7ef532890af0</AssessmentMasterID> <AssessmentName>2b58c62c-2345-4923-b76c-db08030c78ff</AssessmentName> <AssessmentRoleID>375c47f2-d578-46ba-90b2-a397f14e3713</AssessmentRoleID> <ClientAssessmentWorkflowDefinitionID>61a9bc15-a4a3-4b4b-b7e2-462ba9973460</ClientAssessmentWorkflowDefinitionID> <ClientMasterID>8dbf142a-b7c6-47de-977f-92d9ae52352d</ClientMasterID> <ClientName>sample string 9</ClientName> <CurrentState>35bb9f13-35bb-4898-a05d-d68cc697b27d</CurrentState> <CurrentStateName>sample string 12</CurrentStateName> <CustomClientAssessmentCurrentWFStates> <CustomClientAssessmentWFStates> <AssessmentStatesStandardMasterID>05d217de-6175-4899-a9c3-3acf4a0a1351</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>ea657cb7-315c-4ea0-a67a-34069175ef88</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>5e88423d-2506-4e48-882a-b9fea712559e</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>7e032fec-929f-4f38-acef-1d1b9f92c58a</ClientAssessmentWFStatesID> <ClientMasterID>a940438c-ef78-4e97-a292-1c6f35b07ac6</ClientMasterID> <ClientName>sample string 7</ClientName> <RoleName>sample string 5</RoleName> <StateDescription>sample string 3</StateDescription> <StateValue>sample string 2</StateValue> </CustomClientAssessmentWFStates> <CustomClientAssessmentWFStates> <AssessmentStatesStandardMasterID>05d217de-6175-4899-a9c3-3acf4a0a1351</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>ea657cb7-315c-4ea0-a67a-34069175ef88</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>5e88423d-2506-4e48-882a-b9fea712559e</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>7e032fec-929f-4f38-acef-1d1b9f92c58a</ClientAssessmentWFStatesID> <ClientMasterID>a940438c-ef78-4e97-a292-1c6f35b07ac6</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>05d217de-6175-4899-a9c3-3acf4a0a1351</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>ea657cb7-315c-4ea0-a67a-34069175ef88</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>5e88423d-2506-4e48-882a-b9fea712559e</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>7e032fec-929f-4f38-acef-1d1b9f92c58a</ClientAssessmentWFStatesID> <ClientMasterID>a940438c-ef78-4e97-a292-1c6f35b07ac6</ClientMasterID> <ClientName>sample string 7</ClientName> <RoleName>sample string 5</RoleName> <StateDescription>sample string 3</StateDescription> <StateValue>sample string 2</StateValue> </CustomClientAssessmentWFStates> <CustomClientAssessmentWFStates> <AssessmentStatesStandardMasterID>05d217de-6175-4899-a9c3-3acf4a0a1351</AssessmentStatesStandardMasterID> <ClientAssessmentMasterID>ea657cb7-315c-4ea0-a67a-34069175ef88</ClientAssessmentMasterID> <ClientAssessmentName>sample string 9</ClientAssessmentName> <ClientAssessmentRolesMasterID>5e88423d-2506-4e48-882a-b9fea712559e</ClientAssessmentRolesMasterID> <ClientAssessmentWFStatesID>7e032fec-929f-4f38-acef-1d1b9f92c58a</ClientAssessmentWFStatesID> <ClientMasterID>a940438c-ef78-4e97-a292-1c6f35b07ac6</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>194ed16e-6681-4112-8d54-30433f20789c</NextState> <NextStateName>sample string 13</NextStateName> <Roll>sample string 10</Roll> <Workflow>209c5fd2-753f-4827-ab11-f5407ea3870d</Workflow> <WorkflowName>sample string 15</WorkflowName> <customClientAssessmentWFActionMasters> <CustomClientAssessmentWFActionMaster> <ActionDescription>sample string 3</ActionDescription> <ActionValue>sample string 2</ActionValue> <AssessmentActionsStandardMasterID>cf07f8a4-9cc3-407b-a672-bd413ba5554f</AssessmentActionsStandardMasterID> <ClientAssessmentWFActionMasterID>8c2a619e-cdad-468d-978e-b587c99370b8</ClientAssessmentWFActionMasterID> <ClientMasterID>66d3cb0c-6895-443f-b85b-19ef2897cd13</ClientMasterID> <ClientName>sample string 5</ClientName> </CustomClientAssessmentWFActionMaster> <CustomClientAssessmentWFActionMaster> <ActionDescription>sample string 3</ActionDescription> <ActionValue>sample string 2</ActionValue> <AssessmentActionsStandardMasterID>cf07f8a4-9cc3-407b-a672-bd413ba5554f</AssessmentActionsStandardMasterID> <ClientAssessmentWFActionMasterID>8c2a619e-cdad-468d-978e-b587c99370b8</ClientAssessmentWFActionMasterID> <ClientMasterID>66d3cb0c-6895-443f-b85b-19ef2897cd13</ClientMasterID> <ClientName>sample string 5</ClientName> </CustomClientAssessmentWFActionMaster> </customClientAssessmentWFActionMasters> </CustomClientAssessmentWFDefinition>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.