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": "13f62715-7fd4-44c4-91a3-fa2313c73c79", "WorkflowId": "46daa230-fc3c-434e-9c88-a9abcfd59121", "CurrentStepId": "293fc7ec-4cbe-46b8-aa4c-e148065b5ea5", "UserId": "ba213c4b-84f0-4903-b9b9-48b68c65699d", "CPDId": "f3bc77bc-6eea-4484-94e9-9a8d407906a0", "Created": "2025-07-06T23:35:44.2975142+10:00", "LastModified": "2025-07-06T23:35:44.2975142+10: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": [ "de36e39d-885b-4393-aa78-8b3f3f7a75c9", "5ba02073-ec5c-40d2-9411-4b7c81429868" ] }
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>f3bc77bc-6eea-4484-94e9-9a8d407906a0</CPDId> <Created>2025-07-06T23:35:44.2975142+10:00</Created> <CurrentStepId>293fc7ec-4cbe-46b8-aa4c-e148065b5ea5</CurrentStepId> <Id>13f62715-7fd4-44c4-91a3-fa2313c73c79</Id> <LastModified>2025-07-06T23:35:44.2975142+10:00</LastModified> <PaymentGatewayTransactionRef>sample string 7</PaymentGatewayTransactionRef> <PaymentSuccessful>true</PaymentSuccessful> <PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>de36e39d-885b-4393-aa78-8b3f3f7a75c9</d2p1:guid> <d2p1:guid>5ba02073-ec5c-40d2-9411-4b7c81429868</d2p1:guid> </PreviousStepIds> <UserId>ba213c4b-84f0-4903-b9b9-48b68c65699d</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>46daa230-fc3c-434e-9c88-a9abcfd59121</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>