Loading...
 

Get Order Details


HTTP VerbGET
URI Template/account/{accID}/order/{orderID}
MIME Typeapplication/vnd.pncp.v.1.0+json onwards
Normal HTTP Response Code200 OK
Invoked ByResellers can only invoke this for any child accounts they own not for their own account. End-clients cannot place this request.
Response ModeSynchronous.

Sample Request

GET /pncp-external-api-rest/account/99/order/16298 HTTP/1.1
Accept: application/vnd.pncp.v.5.0+json 
Authorization: PNCP bMEtE5MT27VZi2qoFkMXgUb/jO+5V7iEY7MJyUgjCOs=
Content-Type: application/vnd.pncp.v.5.0+json
Content-Length: 43
User-Agent: Jakarta Commons-HttpClient/3.1
Host: YOUR_API_URL

Sample Response

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Content-Type: application/vnd.pncp.v.5.0+json
Transfer-Encoding: chunked
Date: Thu, 26 Jan 2012 08:56:10 GMT

{
	"orderId":16298,
	"ts":1403817034,
	"orderFormId":210,
	"orderQueueId":8,
	"orderStatus":41,
	"priority":1,
	"owner":55,
	"clientId":3481,
	"opportunityId":0,
	"listedCompany":"HOGFyilo",
	"total":98.0,
	"hash":"3b5cd-03334",
	"activity":1403854756,
	"info":{
		"login":"testUser",
		"firstName":"TEST NAME",
		"lastName":"TEST SURNAME",
		"fullName":"TEST NAME TEST SURNAME",
		"emailAddress":"test@test.com",
		"country":"US",
		"ipAddress":"64.64.64.64",
		"company":"Test",
		"pack":{
			"title":"Pack 01",
			"quantity":1
		}
	},
	"signature":""