Adds a new purchase order
post
/service/v1/po/create
This endpoint is used to add a new purchase order.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
Request Body that contains data required for creating a new po
Root Schema : PoServiceCollection
Type:
object
Collection of po.
Show Source
-
authRequire(optional):
string
Authorization require Y/N
-
data(optional):
array data
-
sourceTxnId(optional):
string
Nested Schema : PoServiceDTO
Type:
Show Source
object
-
acceptanceAmount(optional):
number
Acceptance Amount
-
acceptanceDate(optional):
string
Acceptance Date
-
basePoAmount(optional):
number
Amount (Base PO Amount)
-
buyerDivCode(optional):
string
Buyer Division Code
-
buyerDivName(optional):
string
Buyer Division Name
-
buyerId(optional):
string
Buyer Id
-
buyerName(optional):
string
Buyer Name
-
channel(optional):
string
channel
-
city(optional):
string
City
-
commodityList(optional):
array commodityList
-
currency(optional):
string
Currency of PO
-
discountAmount(optional):
number
Discount Amount
-
discountPercent(optional):
number
Discount Percent
-
filler1(optional):
string
Filler 1
-
filler2(optional):
string
Filler 2
-
filler3(optional):
string
Filler 3
-
filler4(optional):
string
Filler 4
-
filler5(optional):
string
Filler 5
-
filler6(optional):
string
Filler 6
-
fundReqAmount(optional):
number
Funding Request Amount
-
miscChrg1Amt(optional):
number
Misc Charge 1 Amount
-
miscChrg1Desc(optional):
string
Misc Charge 1 Description
-
miscChrg2Amt(optional):
number
Misc Charge 2 Amount
-
miscChrg2Desc(optional):
string
Misc Charge 2 Description
-
netPoAmount(optional):
number
Net PO Amount
-
oldPromisedShipmentDate(optional):
string
Old Promised Shipment Date
-
paymentTerms(optional):
string
Payment Term
-
poDate(optional):
string
Purchase Order Date
-
poExternalNumber(optional):
string
Purchase Order External Number
-
poTransactionRefNo(optional):
string
Po Transaction Ref Number
-
preAccepted(optional):
string
Pre Accepted
-
programId(optional):
string
Program Code
-
promisedShipmentDate(optional):
string
Promised Shipment Date
-
raisedBy(optional):
string
Raised By
-
reasonForExport(optional):
string
-
shipmentAddr(optional):
string
Shipment Address
-
shipmentAddr2(optional):
string
Shipment Address2
-
shipmentAddr3(optional):
string
Shipment Address3
-
shipmentCountry(optional):
string
Shipment Country
-
sourceTxnId(optional):
string
sourceTxnId
-
supplierDivCode(optional):
string
Supplier Division Code
-
supplierDivName(optional):
string
Supplier Division Name
-
supplierId(optional):
string
Supplier Id
-
supplierName(optional):
string
Supplier Name
-
taxAmount(optional):
number
Tax Amount
-
taxId(optional):
string
Tax Id
-
taxPercent(optional):
number
Tax Percent
-
zipCode(optional):
string
Zipcode
Nested Schema : PoComServiceDTO
Type:
Show Source
object
-
commodityCode(optional):
string
Commodity Code
-
commodityName(optional):
string
Commodity Name
-
currency(optional):
string
CCY for commodity
-
discountAmount(optional):
number
Dsicount Amt for Commodity
-
discountPercent(optional):
number
Discount percent for Commodity
-
goodsDescription(optional):
string
Description of Commodity
-
id(optional):
string
Id to modify
-
netCost(optional):
number
Net Cost of Commodity
-
quantity(optional):
number
Quantity of Commodity
-
taxAmount(optional):
number
Tax Amount of Commodity
-
taxPercent(optional):
number
Tax Percent of Commodity
-
totalCost(optional):
number
Total Cost Of Commodity
-
totalWeight(optional):
number
Total Weight of Commodity
-
unit(optional):
string
Unit of Commodity
-
unitCost(optional):
number
Unit Cost of Commodity
-
unitWeight(optional):
number
Unit wight Of Commodity
Response
Supported Media Types
- application/json
- application/xml
200 Response
Po Response
Nested Schema : PoServiceResponse
Type:
Show Source
object
-
buyerId(optional):
string
Buyer Id
-
errors(optional):
array errors
Error List
-
poExternalNumber(optional):
string
Po External Number
-
poInternalNumber(optional):
string
Po Internal Number
-
poStatus(optional):
string
Po Status
-
poTransactionRefNo(optional):
string
Po Transaction Ref Number
-
processStatus(optional):
string
Process Status
-
sourceTxnId(optional):
string
sourceTxnId
Nested Schema : ErrorDto
Type:
Show Source
object
-
errorCode(optional):
string
Error Codes Displaying
-
errorDesc(optional):
string
Error Description displaying based on error codes
400 Response
Bad Request
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error