PUT api/WorkOrderTask?VendorID={VendorID}&VendorPassword={VendorPassword}&APIGUID={APIGUID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
VendorID

string

Required

VendorPassword

string

Required

APIGUID

string

Required

Body Parameters

VendorPayTask
NameDescriptionTypeAdditional information
VendorPayTaskKey

integer

None.

VendorPayKey

integer

None.

vpt_Task

date

None.

vpt_Completed

date

None.

vpt_Assigned

date

None.

vpt_AssignedFromEmployeeKey

integer

None.

vpt_AssignedToEmployeeKey

integer

None.

vpt_Note

string

None.

vpt_FileName

string

None.

ImageBase64

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorPayTaskKey": 1,
  "VendorPayKey": 2,
  "vpt_Task": "2024-12-18T12:20:42.2418387-05:00",
  "vpt_Completed": "2024-12-18T12:20:42.2418387-05:00",
  "vpt_Assigned": "2024-12-18T12:20:42.2418387-05:00",
  "vpt_AssignedFromEmployeeKey": 6,
  "vpt_AssignedToEmployeeKey": 7,
  "vpt_Note": "sample string 8",
  "vpt_FileName": "sample string 9",
  "ImageBase64": "sample string 10"
}

application/xml, text/xml

Sample:
<VendorPayTask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMSRXChange.DataClassesAP">
  <ImageBase64>sample string 10</ImageBase64>
  <VendorPayKey>2</VendorPayKey>
  <VendorPayTaskKey>1</VendorPayTaskKey>
  <vpt_Assigned>2024-12-18T12:20:42.2418387-05:00</vpt_Assigned>
  <vpt_AssignedFromEmployeeKey>6</vpt_AssignedFromEmployeeKey>
  <vpt_AssignedToEmployeeKey>7</vpt_AssignedToEmployeeKey>
  <vpt_Completed>2024-12-18T12:20:42.2418387-05:00</vpt_Completed>
  <vpt_FileName>sample string 9</vpt_FileName>
  <vpt_Note>sample string 8</vpt_Note>
  <vpt_Task>2024-12-18T12:20:42.2418387-05:00</vpt_Task>
</VendorPayTask>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.