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": "d11fed7d-be39-4305-b28c-3643d62c9886", "WorkflowId": "9de96b35-7bb9-4541-a78e-6b1ac3cb81a4", "CurrentStepId": "ae8e7d29-40ab-4b38-bbc5-5ebf2c84abd6", "UserId": "6ae78070-8b3c-434c-a973-f7ec5d117a81", "CPDId": "ef35901d-2052-4c64-8524-a9d42944f23a", "Created": "2025-09-16T11:13:24.751103+10:00", "LastModified": "2025-09-16T11:13:24.751103+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": [ "049e8409-1717-496f-874f-cd5bbb439429", "9e51db6e-1799-4524-9231-b50072baf315" ] }
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>ef35901d-2052-4c64-8524-a9d42944f23a</CPDId> <Created>2025-09-16T11:13:24.751103+10:00</Created> <CurrentStepId>ae8e7d29-40ab-4b38-bbc5-5ebf2c84abd6</CurrentStepId> <Id>d11fed7d-be39-4305-b28c-3643d62c9886</Id> <LastModified>2025-09-16T11:13:24.751103+10:00</LastModified> <PaymentGatewayTransactionRef>sample string 7</PaymentGatewayTransactionRef> <PaymentSuccessful>true</PaymentSuccessful> <PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>049e8409-1717-496f-874f-cd5bbb439429</d2p1:guid> <d2p1:guid>9e51db6e-1799-4524-9231-b50072baf315</d2p1:guid> </PreviousStepIds> <UserId>6ae78070-8b3c-434c-a973-f7ec5d117a81</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>9de96b35-7bb9-4541-a78e-6b1ac3cb81a4</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>