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": "c0b2b734-fc7d-4eaa-baaa-127db91e0ba5",
"WorkflowId": "e2e71355-d849-40c0-a426-c74b66dc7784",
"CurrentStepId": "c5a464f2-1ac3-4df5-b3f6-7d24cf4ca36a",
"UserId": "6f146a24-9528-4a64-aa55-711f4ad20603",
"CPDId": "21f6c335-4d54-4462-9e33-4f327354d5e8",
"Created": "2025-12-29T09:47:21.6163856+11:00",
"LastModified": "2025-12-29T09:47:21.6163856+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": [
"e356a89d-da38-4094-bcaf-f3e88ea503a4",
"38541ab3-6d6e-4f62-b1d5-a9868e0f2235"
]
}
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>21f6c335-4d54-4462-9e33-4f327354d5e8</CPDId>
<Created>2025-12-29T09:47:21.6163856+11:00</Created>
<CurrentStepId>c5a464f2-1ac3-4df5-b3f6-7d24cf4ca36a</CurrentStepId>
<Id>c0b2b734-fc7d-4eaa-baaa-127db91e0ba5</Id>
<LastModified>2025-12-29T09:47:21.6163856+11:00</LastModified>
<PaymentGatewayTransactionRef>sample string 7</PaymentGatewayTransactionRef>
<PaymentSuccessful>true</PaymentSuccessful>
<PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e356a89d-da38-4094-bcaf-f3e88ea503a4</d2p1:guid>
<d2p1:guid>38541ab3-6d6e-4f62-b1d5-a9868e0f2235</d2p1:guid>
</PreviousStepIds>
<UserId>6f146a24-9528-4a64-aa55-711f4ad20603</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>e2e71355-d849-40c0-a426-c74b66dc7784</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>