POST api/{siteCode}/PurchaseOrder/AddOrderReference

Adds a reference to the purchase order.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteCode

The site code.

integer

Required

Body Parameters

The order reference.

OrderReference
NameDescriptionTypeAdditional information
OrderID

integer

None.

Reference

string

None.

ReferenceDescription

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderID": 2,
  "Reference": "sample string 3",
  "ReferenceDescription": "sample string 4"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HTTP Status Code 200

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.