POST api/Workflow/Save
Request Information
URI Parameters
None.
Body Parameters
WorkflowPostedFieldsRequestModel| Name | 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": "1ce27d95-ca78-4fcb-81a4-a426532e4c29",
"WorkflowId": "3c6e5e82-bd0c-40ae-86a5-80904125725f",
"CurrentStepId": "00f7e40e-9318-4782-9def-d86c9810a58e",
"UserId": "8d9d3d5e-e098-453b-8207-7d158db90e24",
"CPDId": "12c7eb3a-5022-4cd9-ac4f-23836021aaac",
"Created": "2026-03-22T08:52:23.8910445+11:00",
"LastModified": "2026-03-22T08:52:23.8910445+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": [
"dd549f89-6777-426d-8822-3060273ed787",
"3e8f3a45-119f-4d36-a061-04031bb1b5a8"
]
}
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>12c7eb3a-5022-4cd9-ac4f-23836021aaac</CPDId>
<Created>2026-03-22T08:52:23.8910445+11:00</Created>
<CurrentStepId>00f7e40e-9318-4782-9def-d86c9810a58e</CurrentStepId>
<Id>1ce27d95-ca78-4fcb-81a4-a426532e4c29</Id>
<LastModified>2026-03-22T08:52:23.8910445+11:00</LastModified>
<PaymentGatewayTransactionRef>sample string 7</PaymentGatewayTransactionRef>
<PaymentSuccessful>true</PaymentSuccessful>
<PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>dd549f89-6777-426d-8822-3060273ed787</d2p1:guid>
<d2p1:guid>3e8f3a45-119f-4d36-a061-04031bb1b5a8</d2p1:guid>
</PreviousStepIds>
<UserId>8d9d3d5e-e098-453b-8207-7d158db90e24</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>3c6e5e82-bd0c-40ae-86a5-80904125725f</WorkflowId>
<WorkflowName>sample string 6</WorkflowName>
</WorkflowPostedFieldsRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
BaseResponseModel| Name | 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>