Get a request based on the requestId
get
https://api.mercadoe.com/v1/requests/{requestId}
Get information about a specific purchase request with the given requestId
.
Request
Path Parameters
requestId
int32
required
the request id
Responses
200
404
OK
Body
application/json
requestId
int32
ME Request Id
isCanceled
boolean | null
Flag to indicate if this request was canceled (True/False).
creationDate
date-time | null
Request creation date
clientDeliveryPlaceId
string | null
Client Delivery Place Id
clientInvoicePlaceId
string | null
Client Invoice Place Id
clientRequestId
string | null
Request Id in the client’s ERP.
name
string | null
Name
contact
string | null
Contact
email
string | null
E-mail
loginName
string | null
Login name
phoneNumber
string | null
Phone number
integrationTag
string | null
Identification of the ME user used in the integration.
title
string | null
Request title
status
int32 | null
Status (The request enters as “Submitted”).
Possible status:
- 0 = Submitted
- 1 = Aproved
- 3 = Canceled
- 123 = ERP INCONSISTENCY
- 124 = WAITING FOR ERP INTEGRATION
- 125 = WAITING FOR ERP APPROVAL
Possible status:
- 0 = Submitted
- 1 = Aproved
- 3 = Canceled
- 123 = ERP INCONSISTENCY
- 124 = WAITING FOR ERP INTEGRATION
- 125 = WAITING FOR ERP APPROVAL
clientCostCenterId
string | null
Cost center (if the
accountingCategory
is equal to “K”, you must enter the Cost center code).placingDate
date-time | null
deprecated
Placing date
expectedDate
date-time | null
Expected date
category
string | null
The category is the request Type.
note
string | null
Request header text
reason
string | null
Reason for cancellation or change.
currency
string | null
Currency in alphabetic code (for more information, please refer to: https://www.iso.org/iso-4217-currency-codes.html).
supplierNote
string | null
Supplier item notes