POST api/Workflow/Save
Request Information
URI Parameters
None.
Body Parameters
WorkflowPostedFieldsRequestModelName | Description | Type | Additional information |
---|---|---|---|
Id | globally unique identifier |
None. |
|
WorkflowId | globally unique identifier |
None. |
|
CurrentStepId | globally unique identifier |
None. |
|
UserId | globally unique identifier |
None. |
|
CPDId | globally unique identifier |
None. |
|
Created | date |
None. |
|
LastModified | date |
None. |
|
WorkflowName | string |
None. |
|
Values | Collection of WorkflowPostedField |
None. |
|
PaymentSuccessful | boolean |
None. |
|
PaymentGatewayTransactionRef | string |
None. |
|
PreviousStepIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "828fc4ac-000a-4a60-ad2e-965b7100aa1f", "WorkflowId": "ccd6acee-b9e4-41eb-b886-bcb2b8bf6d30", "CurrentStepId": "fb4eb7a5-7e5f-42fa-8750-936bf9a6e1e2", "UserId": "9b49b514-2982-4573-a667-21eb7eaa51cc", "CPDId": "1399d3c6-52f7-42fc-9ebd-b519033f2cd6", "Created": "2024-11-29T10:46:03.9978885+11:00", "LastModified": "2024-11-29T10:46:03.9988885+11:00", "WorkflowName": "sample string 6", "Values": [ { "Name": "sample string 1", "Value": "sample string 2", "Mapping": "sample string 3", "FieldType": "sample string 4", "Text": "sample string 5", "AdditionalRef": [ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ] }, { "Name": "sample string 1", "Value": "sample string 2", "Mapping": "sample string 3", "FieldType": "sample string 4", "Text": "sample string 5", "AdditionalRef": [ { "Key": "sample string 1", "Value": "sample string 2" }, { "Key": "sample string 1", "Value": "sample string 2" } ] } ], "PaymentSuccessful": true, "PaymentGatewayTransactionRef": "sample string 7", "PreviousStepIds": [ "55c90874-97f3-49d5-8710-e090abdca479", "c2988bb5-ffd7-4929-a2fc-33d4e6154ae8" ] }
application/xml, text/xml
Sample:
<WorkflowPostedFieldsRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Request"> <CPDId>1399d3c6-52f7-42fc-9ebd-b519033f2cd6</CPDId> <Created>2024-11-29T10:46:03.9978885+11:00</Created> <CurrentStepId>fb4eb7a5-7e5f-42fa-8750-936bf9a6e1e2</CurrentStepId> <Id>828fc4ac-000a-4a60-ad2e-965b7100aa1f</Id> <LastModified>2024-11-29T10:46:03.9988885+11:00</LastModified> <PaymentGatewayTransactionRef>sample string 7</PaymentGatewayTransactionRef> <PaymentSuccessful>true</PaymentSuccessful> <PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>55c90874-97f3-49d5-8710-e090abdca479</d2p1:guid> <d2p1:guid>c2988bb5-ffd7-4929-a2fc-33d4e6154ae8</d2p1:guid> </PreviousStepIds> <UserId>9b49b514-2982-4573-a667-21eb7eaa51cc</UserId> <Values> <WorkflowPostedField> <AdditionalRef> <WorkflowAdditionalRef> <Key>sample string 1</Key> <Value>sample string 2</Value> </WorkflowAdditionalRef> <WorkflowAdditionalRef> <Key>sample string 1</Key> <Value>sample string 2</Value> </WorkflowAdditionalRef> </AdditionalRef> <FieldType>sample string 4</FieldType> <Mapping>sample string 3</Mapping> <Name>sample string 1</Name> <Text>sample string 5</Text> <Value>sample string 2</Value> </WorkflowPostedField> <WorkflowPostedField> <AdditionalRef> <WorkflowAdditionalRef> <Key>sample string 1</Key> <Value>sample string 2</Value> </WorkflowAdditionalRef> <WorkflowAdditionalRef> <Key>sample string 1</Key> <Value>sample string 2</Value> </WorkflowAdditionalRef> </AdditionalRef> <FieldType>sample string 4</FieldType> <Mapping>sample string 3</Mapping> <Name>sample string 1</Name> <Text>sample string 5</Text> <Value>sample string 2</Value> </WorkflowPostedField> </Values> <WorkflowId>ccd6acee-b9e4-41eb-b886-bcb2b8bf6d30</WorkflowId> <WorkflowName>sample string 6</WorkflowName> </WorkflowPostedFieldsRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BaseResponseModelName | Description | Type | Additional information |
---|---|---|---|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<BaseResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> </BaseResponseModel>