POST api/Workflow/Save

Request Information

URI Parameters

None.

Body Parameters

WorkflowPostedFieldsRequestModel
NameDescriptionTypeAdditional 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.

InvoiceId

globally unique identifier

None.

EntityId

globally unique identifier

None.

EntityType

string

None.

Created

date

None.

LastModifiedDate

date

None.

LastModifiedById

string

None.

WorkflowName

string

None.

Values

Collection of WorkflowPostedField

None.

PaymentSuccessful

boolean

None.

PaymentGatewayTransactionRef

string

None.

PreviousStepIds

Collection of globally unique identifier

None.

SubmitTimes

Collection of WorkflowPostedStepSubmitTime

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "4c8d56dc-d429-441b-a77b-f4f232fb2816",
  "WorkflowId": "b9d8b7d3-1f70-41f5-9bf1-b664fad681c8",
  "CurrentStepId": "9eae7648-7c0d-4f1c-aee7-50916e625c93",
  "UserId": "a70e50da-324e-44f9-bffe-01397bb3fa10",
  "CPDId": "7878942d-b54f-4cac-a6b3-97762e4f11fb",
  "CPDPeriodId": "c93282b1-8e60-4aca-b2a2-8876735eaeeb",
  "WaitlistEventId": "f2510ec4-2f80-4e7f-a7e8-efc497175ed0",
  "WaitlistTicketTypeId": "54a48903-a564-44ce-9c6a-25cb5fb1fde1",
  "CPDReductionId": "10d92d58-03f9-4e0c-887f-28b477559c4f",
  "CartId": "06e61432-8d6a-443d-bfdd-4f0f45f2df6c",
  "InvoiceId": "a4ef1bdb-ed77-48e4-9898-8428f4e569fe",
  "EntityId": "f161fe7c-7118-4d32-94be-dc7725f71984",
  "EntityType": "sample string 4",
  "Created": "2024-11-28T22:28:53.3741072+00:00",
  "LastModifiedDate": "2024-11-28T22:28:53.3741072+00:00",
  "LastModifiedById": "sample string 7",
  "WorkflowName": "sample string 8",
  "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 9",
  "PreviousStepIds": [
    "54eb9955-eef5-4fbe-8f67-8ffe13d85213",
    "66317ae0-6b00-418e-8c47-fcfc9230cf11"
  ],
  "SubmitTimes": [
    {
      "StepId": "9092347d-6c29-49b7-bf0f-16e109f4df98",
      "StepName": "sample string 2",
      "SubmittedTime": "2024-11-28T22:28:53.3741072+00:00",
      "SubmittedById": "502bf375-db6c-4a9f-b981-c2bc27e2f3b5",
      "SubmittedBy": "sample string 5"
    },
    {
      "StepId": "9092347d-6c29-49b7-bf0f-16e109f4df98",
      "StepName": "sample string 2",
      "SubmittedTime": "2024-11-28T22:28:53.3741072+00:00",
      "SubmittedById": "502bf375-db6c-4a9f-b981-c2bc27e2f3b5",
      "SubmittedBy": "sample string 5"
    }
  ]
}

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>7878942d-b54f-4cac-a6b3-97762e4f11fb</CPDId>
  <CPDPeriodId>c93282b1-8e60-4aca-b2a2-8876735eaeeb</CPDPeriodId>
  <CPDReductionId>10d92d58-03f9-4e0c-887f-28b477559c4f</CPDReductionId>
  <CartId>06e61432-8d6a-443d-bfdd-4f0f45f2df6c</CartId>
  <Created>2024-11-28T22:28:53.3741072+00:00</Created>
  <CurrentStepId>9eae7648-7c0d-4f1c-aee7-50916e625c93</CurrentStepId>
  <EntityId>f161fe7c-7118-4d32-94be-dc7725f71984</EntityId>
  <EntityType>sample string 4</EntityType>
  <Id>4c8d56dc-d429-441b-a77b-f4f232fb2816</Id>
  <InvoiceId>a4ef1bdb-ed77-48e4-9898-8428f4e569fe</InvoiceId>
  <LastModifiedById>sample string 7</LastModifiedById>
  <LastModifiedDate>2024-11-28T22:28:53.3741072+00:00</LastModifiedDate>
  <PaymentGatewayTransactionRef>sample string 9</PaymentGatewayTransactionRef>
  <PaymentSuccessful>true</PaymentSuccessful>
  <PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>54eb9955-eef5-4fbe-8f67-8ffe13d85213</d2p1:guid>
    <d2p1:guid>66317ae0-6b00-418e-8c47-fcfc9230cf11</d2p1:guid>
  </PreviousStepIds>
  <SubmitTimes>
    <WorkflowPostedStepSubmitTime>
      <StepId>9092347d-6c29-49b7-bf0f-16e109f4df98</StepId>
      <StepName>sample string 2</StepName>
      <SubmittedBy>sample string 5</SubmittedBy>
      <SubmittedById>502bf375-db6c-4a9f-b981-c2bc27e2f3b5</SubmittedById>
      <SubmittedTime>2024-11-28T22:28:53.3741072+00:00</SubmittedTime>
    </WorkflowPostedStepSubmitTime>
    <WorkflowPostedStepSubmitTime>
      <StepId>9092347d-6c29-49b7-bf0f-16e109f4df98</StepId>
      <StepName>sample string 2</StepName>
      <SubmittedBy>sample string 5</SubmittedBy>
      <SubmittedById>502bf375-db6c-4a9f-b981-c2bc27e2f3b5</SubmittedById>
      <SubmittedTime>2024-11-28T22:28:53.3741072+00:00</SubmittedTime>
    </WorkflowPostedStepSubmitTime>
  </SubmitTimes>
  <UserId>a70e50da-324e-44f9-bffe-01397bb3fa10</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>f2510ec4-2f80-4e7f-a7e8-efc497175ed0</WaitlistEventId>
  <WaitlistTicketTypeId>54a48903-a564-44ce-9c6a-25cb5fb1fde1</WaitlistTicketTypeId>
  <WorkflowId>b9d8b7d3-1f70-41f5-9bf1-b664fad681c8</WorkflowId>
  <WorkflowName>sample string 8</WorkflowName>
</WorkflowPostedFieldsRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'WorkflowPostedFieldsRequestModel'.

Response Information

Resource Description

WorkflowSaveResponseModel
NameDescriptionTypeAdditional information
MemberId

string

None.

SubscriptionId

globally unique identifier

None.

InvoiceId

globally unique identifier

None.

ClassifiedItemId

globally unique identifier

None.

ClassifiedApplicationId

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": "6a7e2cfb-e270-4cb3-902f-3e741bb54778",
  "InvoiceId": "ff5a0a13-67f5-4e6e-b654-5e56df187d9b",
  "ClassifiedItemId": "46e60980-11ae-40fa-8ee3-2ee9675cc681",
  "ClassifiedApplicationId": "80ed600e-9927-4801-b705-7466e751b9b7",
  "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>
  <ClassifiedApplicationId>80ed600e-9927-4801-b705-7466e751b9b7</ClassifiedApplicationId>
  <ClassifiedItemId>46e60980-11ae-40fa-8ee3-2ee9675cc681</ClassifiedItemId>
  <InvoiceId>ff5a0a13-67f5-4e6e-b654-5e56df187d9b</InvoiceId>
  <MemberId>sample string 1</MemberId>
  <PaymentGatewayTransactionRef>sample string 2</PaymentGatewayTransactionRef>
  <PaymentSuccessful>true</PaymentSuccessful>
  <SubscriptionId>6a7e2cfb-e270-4cb3-902f-3e741bb54778</SubscriptionId>
</WorkflowSaveResponseModel>