POST api/WorkflowFieldValues/Commit

Request Information

URI Parameters

None.

Body Parameters

WorkflowFieldValue
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.

InvoiceId

globally unique identifier

None.

CPDReductionId

globally unique identifier

None.

ApplicableFrom

date

None.

ApplicableTo

date

None.

WaitlistEventId

globally unique identifier

None.

WaitlistTicketTypeId

globally unique identifier

None.

CartId

globally unique identifier

None.

ElectionId

globally unique identifier

None.

PropertyId

globally unique identifier

None.

BookingId

globally unique identifier

None.

EntityId

globally unique identifier

None.

EntityType

string

None.

UserFullName

string

None.

WorkflowName

string

None.

CreatedDate

date

None.

CreatedDateTick

integer

None.

CreatedById

globally unique identifier

None.

LastModifiedDate

date

None.

LastModifiedById

globally unique identifier

None.

IsArchived

boolean

None.

CommitStepId

globally unique identifier

None.

Archived

date

None.

ArchivedById

globally unique identifier

None.

AssignedTo

globally unique identifier

None.

AssignedDate

date

None.

PaymentSuccessful

boolean

None.

PaymentGatewayTransactionRef

string

None.

CrossCheckApplicationTypeSuccesful

boolean

None.

PreviousStepIds

Collection of globally unique identifier

None.

Values

Collection of WorkflowValue

None.

SubmitTimes

Collection of WorkflowStepSubmitTime

None.

InitHistory

Collection of FieldValueInitTime

None.

Response

BaseResponseModel

None.

IsFinalised

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "4181c7d3-8789-4226-80de-5721b04af4ba",
  "WorkflowId": "53977d18-9144-4083-86ba-d1b49e5d1eda",
  "CurrentStepId": "4143825a-af84-4bc6-b2c9-a235b4b0f10f",
  "UserId": "8fa23a08-68be-4dd2-a19f-85d52f905600",
  "CPDId": "1f4abfe2-b981-4bae-a43b-9c40ce68adba",
  "CPDPeriodId": "0c392c6e-0379-4474-8cac-396a15f36e9b",
  "InvoiceId": "c2cc4e67-ebd3-459a-ada8-958f850963d0",
  "CPDReductionId": "210d9b9f-f611-4548-8264-a8b817fdf4af",
  "ApplicableFrom": "2024-11-29T09:48:43.9370341+11:00",
  "ApplicableTo": "2024-11-29T09:48:43.9370341+11:00",
  "WaitlistEventId": "4da5e283-f288-4582-933e-92818b7ea725",
  "WaitlistTicketTypeId": "c4e41d12-26ce-4c19-b4ea-0a547704e5f3",
  "CartId": "eb3f7860-195b-4397-aa4d-6168660a5537",
  "ElectionId": "67db552c-a3a5-4d72-b105-f25bdff3e375",
  "PropertyId": "cde6d1ea-7db2-4697-b3c7-0c11a2e56ac8",
  "BookingId": "f694fb40-3ab8-487d-8a72-7214252d8f87",
  "EntityId": "14bd3970-6579-41d1-8452-2139414ac31f",
  "EntityType": "sample string 4",
  "UserFullName": "sample string 5",
  "WorkflowName": "sample string 6",
  "CreatedDate": "2024-11-29T09:48:43.9370341+11:00",
  "CreatedDateTick": 8,
  "CreatedById": "fac0be03-bb5b-42f5-819e-e512a3191f51",
  "LastModifiedDate": "2024-11-29T09:48:43.9370341+11:00",
  "LastModifiedById": "599cc30f-6cef-4e80-9be7-1edae6b6feeb",
  "IsArchived": true,
  "CommitStepId": "b1779275-2916-4834-b379-f07a09f25d92",
  "Archived": "2024-11-29T09:48:43.9370341+11:00",
  "ArchivedById": "92a376f4-6ece-4355-b096-5a6bc7156370",
  "AssignedTo": "2ed9ed92-1eb1-48d1-b275-95b6b0f63947",
  "AssignedDate": "2024-11-29T09:48:43.9370341+11:00",
  "PaymentSuccessful": true,
  "PaymentGatewayTransactionRef": "sample string 11",
  "CrossCheckApplicationTypeSuccesful": true,
  "PreviousStepIds": [
    "5e140155-35aa-41e8-bb3b-d4706cee2bba",
    "8a48a0a1-8a5a-4474-84a1-584eeccf11f6"
  ],
  "Values": [
    {
      "Name": "sample string 1",
      "Value": "sample string 2",
      "FileValues": {},
      "Mapping": "sample string 4",
      "FieldType": "sample string 5",
      "Text": "sample string 6",
      "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": {},
      "Mapping": "sample string 4",
      "FieldType": "sample string 5",
      "Text": "sample string 6",
      "AdditionalRef": [
        {
          "Key": "sample string 1",
          "Value": "sample string 2"
        },
        {
          "Key": "sample string 1",
          "Value": "sample string 2"
        }
      ]
    }
  ],
  "SubmitTimes": [
    {
      "StepId": "d84a2c4a-4a16-46bd-95ae-33c1fbce1ac7",
      "StepName": "sample string 2",
      "SubmittedTime": "2024-11-29T09:48:43.9370341+11:00",
      "SubmittedById": "8654e623-55b9-4906-b8fd-b7b334ddd720",
      "SubmittedBy": "sample string 5"
    },
    {
      "StepId": "d84a2c4a-4a16-46bd-95ae-33c1fbce1ac7",
      "StepName": "sample string 2",
      "SubmittedTime": "2024-11-29T09:48:43.9370341+11:00",
      "SubmittedById": "8654e623-55b9-4906-b8fd-b7b334ddd720",
      "SubmittedBy": "sample string 5"
    }
  ],
  "InitHistory": [
    {
      "StepId": "a419f623-764f-48e9-ac78-e1ac7991fdec",
      "StepName": "sample string 2",
      "InitTime": "2024-11-29T09:48:43.9370341+11:00",
      "InitById": "5696345f-bced-4447-bd08-477eabd3aee2",
      "InitBy": "sample string 5"
    },
    {
      "StepId": "a419f623-764f-48e9-ac78-e1ac7991fdec",
      "StepName": "sample string 2",
      "InitTime": "2024-11-29T09:48:43.9370341+11:00",
      "InitById": "5696345f-bced-4447-bd08-477eabd3aee2",
      "InitBy": "sample string 5"
    }
  ],
  "Response": {
    "Result": {
      "Success": true,
      "Message": "sample string 2",
      "Errors": [
        {
          "Message": "sample string 1"
        },
        {
          "Message": "sample string 1"
        }
      ]
    }
  },
  "IsFinalised": true
}

application/xml, text/xml

Sample:
<WorkflowFieldValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WorkflowAPI.Models">
  <ApplicableFrom xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-28T22:48:43.9370341Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>660</d2p1:OffsetMinutes>
  </ApplicableFrom>
  <ApplicableTo xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-28T22:48:43.9370341Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>660</d2p1:OffsetMinutes>
  </ApplicableTo>
  <Archived>2024-11-29T09:48:43.9370341+11:00</Archived>
  <ArchivedById>92a376f4-6ece-4355-b096-5a6bc7156370</ArchivedById>
  <AssignedDate>2024-11-29T09:48:43.9370341+11:00</AssignedDate>
  <AssignedTo>2ed9ed92-1eb1-48d1-b275-95b6b0f63947</AssignedTo>
  <BookingId>f694fb40-3ab8-487d-8a72-7214252d8f87</BookingId>
  <CPDId>1f4abfe2-b981-4bae-a43b-9c40ce68adba</CPDId>
  <CPDPeriodId>0c392c6e-0379-4474-8cac-396a15f36e9b</CPDPeriodId>
  <CPDReductionId>210d9b9f-f611-4548-8264-a8b817fdf4af</CPDReductionId>
  <CartId>eb3f7860-195b-4397-aa4d-6168660a5537</CartId>
  <CommitStepId>b1779275-2916-4834-b379-f07a09f25d92</CommitStepId>
  <CreatedById>fac0be03-bb5b-42f5-819e-e512a3191f51</CreatedById>
  <CreatedDate>2024-11-29T09:48:43.9370341+11:00</CreatedDate>
  <CreatedDateTick>8</CreatedDateTick>
  <CrossCheckApplicationTypeSuccesful>true</CrossCheckApplicationTypeSuccesful>
  <CurrentStepId>4143825a-af84-4bc6-b2c9-a235b4b0f10f</CurrentStepId>
  <ElectionId>67db552c-a3a5-4d72-b105-f25bdff3e375</ElectionId>
  <EntityId>14bd3970-6579-41d1-8452-2139414ac31f</EntityId>
  <EntityType>sample string 4</EntityType>
  <Id>4181c7d3-8789-4226-80de-5721b04af4ba</Id>
  <InitHistory>
    <FieldValueInitTime>
      <InitBy>sample string 5</InitBy>
      <InitById>5696345f-bced-4447-bd08-477eabd3aee2</InitById>
      <InitTime>2024-11-29T09:48:43.9370341+11:00</InitTime>
      <StepId>a419f623-764f-48e9-ac78-e1ac7991fdec</StepId>
      <StepName>sample string 2</StepName>
    </FieldValueInitTime>
    <FieldValueInitTime>
      <InitBy>sample string 5</InitBy>
      <InitById>5696345f-bced-4447-bd08-477eabd3aee2</InitById>
      <InitTime>2024-11-29T09:48:43.9370341+11:00</InitTime>
      <StepId>a419f623-764f-48e9-ac78-e1ac7991fdec</StepId>
      <StepName>sample string 2</StepName>
    </FieldValueInitTime>
  </InitHistory>
  <InvoiceId>c2cc4e67-ebd3-459a-ada8-958f850963d0</InvoiceId>
  <IsArchived>true</IsArchived>
  <IsFinalised>true</IsFinalised>
  <LastModifiedById>599cc30f-6cef-4e80-9be7-1edae6b6feeb</LastModifiedById>
  <LastModifiedDate>2024-11-29T09:48:43.9370341+11:00</LastModifiedDate>
  <PaymentGatewayTransactionRef>sample string 11</PaymentGatewayTransactionRef>
  <PaymentSuccessful>true</PaymentSuccessful>
  <PreviousStepIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:guid>5e140155-35aa-41e8-bb3b-d4706cee2bba</d2p1:guid>
    <d2p1:guid>8a48a0a1-8a5a-4474-84a1-584eeccf11f6</d2p1:guid>
  </PreviousStepIds>
  <PropertyId>cde6d1ea-7db2-4697-b3c7-0c11a2e56ac8</PropertyId>
  <Response xmlns:d2p1="http://schemas.datacontract.org/2004/07/WorkflowAPI.Models.Common">
    <d2p1:Result>
      <d2p1:Errors>
        <d2p1:ErrorMessage>
          <d2p1:Message>sample string 1</d2p1:Message>
        </d2p1:ErrorMessage>
        <d2p1:ErrorMessage>
          <d2p1:Message>sample string 1</d2p1:Message>
        </d2p1:ErrorMessage>
      </d2p1:Errors>
      <d2p1:Message>sample string 2</d2p1:Message>
      <d2p1:Success>true</d2p1:Success>
    </d2p1:Result>
  </Response>
  <SubmitTimes>
    <WorkflowStepSubmitTime>
      <StepId>d84a2c4a-4a16-46bd-95ae-33c1fbce1ac7</StepId>
      <StepName>sample string 2</StepName>
      <SubmittedBy>sample string 5</SubmittedBy>
      <SubmittedById>8654e623-55b9-4906-b8fd-b7b334ddd720</SubmittedById>
      <SubmittedTime>2024-11-29T09:48:43.9370341+11:00</SubmittedTime>
    </WorkflowStepSubmitTime>
    <WorkflowStepSubmitTime>
      <StepId>d84a2c4a-4a16-46bd-95ae-33c1fbce1ac7</StepId>
      <StepName>sample string 2</StepName>
      <SubmittedBy>sample string 5</SubmittedBy>
      <SubmittedById>8654e623-55b9-4906-b8fd-b7b334ddd720</SubmittedById>
      <SubmittedTime>2024-11-29T09:48:43.9370341+11:00</SubmittedTime>
    </WorkflowStepSubmitTime>
  </SubmitTimes>
  <UserFullName>sample string 5</UserFullName>
  <UserId>8fa23a08-68be-4dd2-a19f-85d52f905600</UserId>
  <Values>
    <WorkflowValue>
      <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 5</FieldType>
      <FileValues />
      <Mapping>sample string 4</Mapping>
      <Name>sample string 1</Name>
      <Text>sample string 6</Text>
      <Value>sample string 2</Value>
    </WorkflowValue>
    <WorkflowValue>
      <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 5</FieldType>
      <FileValues />
      <Mapping>sample string 4</Mapping>
      <Name>sample string 1</Name>
      <Text>sample string 6</Text>
      <Value>sample string 2</Value>
    </WorkflowValue>
  </Values>
  <WaitlistEventId>4da5e283-f288-4582-933e-92818b7ea725</WaitlistEventId>
  <WaitlistTicketTypeId>c4e41d12-26ce-4c19-b4ea-0a547704e5f3</WaitlistTicketTypeId>
  <WorkflowId>53977d18-9144-4083-86ba-d1b49e5d1eda</WorkflowId>
  <WorkflowName>sample string 6</WorkflowName>
</WorkflowFieldValue>

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 'WorkflowFieldValue'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.