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. |
|
CPDPeriodId | globally unique identifier |
None. |
|
WaitlistEventId | globally unique identifier |
None. |
|
WaitlistTicketTypeId | globally unique identifier |
None. |
|
CPDReductionId | globally unique identifier |
None. |
|
CartId | 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": "f0d98874-fc44-4665-8061-68d145e879dd", "WorkflowId": "f9173aca-b367-4d97-aa00-f7b38487e8ea", "CurrentStepId": "9d72931e-02b1-43b8-9397-e8223a48014c", "UserId": "8546766d-4bc4-4e6e-acc6-4cfbc08d673f", "CPDId": "dc8e0e95-ecd4-4344-86a5-382516e1ef6d", "CPDPeriodId": "e942f53f-8651-4cec-8d12-36e7a96444b7", "WaitlistEventId": "26d59b7b-cf65-4a28-8940-366f71289eef", "WaitlistTicketTypeId": "6ca61c18-67fb-4e34-8ae4-17d558afb585", "CPDReductionId": "219e01aa-b47e-419d-a5ec-3525a79cd6d6", "CartId": "52b4014d-c78d-41a7-a067-aa6172c8ff82", "Created": "2024-11-29T09:52:50.5548291+11:00", "LastModified": "2024-11-29T09:52:50.5548291+11:00", "WorkflowName": "sample string 6", "Values": [ { "Name": "sample string 1", "Value": "sample string 2", "FileValues": [ { "Name": "sample string 1", "NewName": "sample string 2", "Path": "sample string 3", "IsDeleted": true }, { "Name": "sample string 1", "NewName": "sample string 2", "Path": "sample string 3", "IsDeleted": true } ], "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", "FileValues": [ { "Name": "sample string 1", "NewName": "sample string 2", "Path": "sample string 3", "IsDeleted": true }, { "Name": "sample string 1", "NewName": "sample string 2", "Path": "sample string 3", "IsDeleted": true } ], "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": [ "8825c8c2-df20-4611-970d-54b555bee5f3", "ac42f7c4-679e-41df-91ec-9e12e19df074" ] }
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>dc8e0e95-ecd4-4344-86a5-382516e1ef6d</CPDId> <CPDPeriodId>e942f53f-8651-4cec-8d12-36e7a96444b7</CPDPeriodId> <CPDReductionId>219e01aa-b47e-419d-a5ec-3525a79cd6d6</CPDReductionId> <CartId>52b4014d-c78d-41a7-a067-aa6172c8ff82</CartId> <Created>2024-11-29T09:52:50.5548291+11:00</Created> <CurrentStepId>9d72931e-02b1-43b8-9397-e8223a48014c</CurrentStepId> <Id>f0d98874-fc44-4665-8061-68d145e879dd</Id> <LastModified>2024-11-29T09:52:50.5548291+11:00</LastModified> <PaymentGatewayTransactionRef>sample string 7</PaymentGatewayTransactionRef> <PaymentSuccessful>true</PaymentSuccessful> <PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>8825c8c2-df20-4611-970d-54b555bee5f3</d2p1:guid> <d2p1:guid>ac42f7c4-679e-41df-91ec-9e12e19df074</d2p1:guid> </PreviousStepIds> <UserId>8546766d-4bc4-4e6e-acc6-4cfbc08d673f</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> <FileValues> <DocumentValues> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <NewName>sample string 2</NewName> <Path>sample string 3</Path> </DocumentValues> <DocumentValues> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <NewName>sample string 2</NewName> <Path>sample string 3</Path> </DocumentValues> </FileValues> <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> <FileValues> <DocumentValues> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <NewName>sample string 2</NewName> <Path>sample string 3</Path> </DocumentValues> <DocumentValues> <IsDeleted>true</IsDeleted> <Name>sample string 1</Name> <NewName>sample string 2</NewName> <Path>sample string 3</Path> </DocumentValues> </FileValues> <Mapping>sample string 3</Mapping> <Name>sample string 1</Name> <Text>sample string 5</Text> <Value>sample string 2</Value> </WorkflowPostedField> </Values> <WaitlistEventId>26d59b7b-cf65-4a28-8940-366f71289eef</WaitlistEventId> <WaitlistTicketTypeId>6ca61c18-67fb-4e34-8ae4-17d558afb585</WaitlistTicketTypeId> <WorkflowId>f9173aca-b367-4d97-aa00-f7b38487e8ea</WorkflowId> <WorkflowName>sample string 6</WorkflowName> </WorkflowPostedFieldsRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
WorkflowSaveResponseModelName | Description | Type | Additional information |
---|---|---|---|
MemberId | string |
None. |
|
SubscriptionId | globally unique identifier |
None. |
|
InvoiceId | globally unique identifier |
None. |
|
PaymentSuccessful | boolean |
None. |
|
PaymentGatewayTransactionRef | string |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "MemberId": "sample string 1", "SubscriptionId": "c54ce2fa-ff63-439a-9c02-f73809ac11c3", "InvoiceId": "a2e581b8-aeb3-43fb-86ea-761355594b54", "PaymentSuccessful": true, "PaymentGatewayTransactionRef": "sample string 2", "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<WorkflowSaveResponseModel 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> <InvoiceId>a2e581b8-aeb3-43fb-86ea-761355594b54</InvoiceId> <MemberId>sample string 1</MemberId> <PaymentGatewayTransactionRef>sample string 2</PaymentGatewayTransactionRef> <PaymentSuccessful>true</PaymentSuccessful> <SubscriptionId>c54ce2fa-ff63-439a-9c02-f73809ac11c3</SubscriptionId> </WorkflowSaveResponseModel>