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:
string
Authorization require Y/N
-
data:
array data
-
sourceTxnId:
string
Nested Schema : PoServiceDTO
Type:
Show Source
object
-
acceptanceAmount:
number
Acceptance Amount
-
acceptanceDate:
string
Acceptance Date
-
basePoAmount:
number
Amount (Base PO Amount)
-
buyerDivCode:
string
Buyer Division Code
-
buyerDivName:
string
Buyer Division Name
-
buyerId:
string
Buyer Id
-
buyerName:
string
Buyer Name
-
channel:
string
channel
-
city:
string
City
-
commodityList:
array commodityList
-
countryOfOrigin:
string
Country of origin
-
currency:
string
Currency of PO
-
discountAmount:
number
Discount Amount
-
discountPercent:
number
Discount Percent
-
filler1:
string
Filler 1
-
filler2:
string
Filler 2
-
filler3:
string
Filler 3
-
filler4:
string
Filler 4
-
filler5:
string
Filler 5
-
filler6:
string
Filler 6
-
fundingReqDate:
string
Pattern:
([0-9]{4})-([0-9]{2})-([0-9]{2})
Funding Req Date -
fundReqAmount:
number
Funding Request Amount
-
miscChrg1Amt:
number
Misc Charge 1 Amount
-
miscChrg1Desc:
string
Misc Charge 1 Description
-
miscChrg2Amt:
number
Misc Charge 2 Amount
-
miscChrg2Desc:
string
Misc Charge 2 Description
-
netPoAmount:
number
Net PO Amount
-
oldPromisedShipmentDate:
string
Old Promised Shipment Date
-
paymentTerms:
string
Payment Term
-
phoneNumber:
string
Shipment Phone number
-
poDate:
string
Purchase Order Date
-
poExternalNumber:
string
Purchase Order External Number
-
poId:
string
Purchase Order Id
-
poTransactionRefNo:
string
Po Transaction Ref Number
-
preAccepted:
string
Pre Accepted
-
programId:
string
Program Code
-
promisedShipmentDate:
string
Promised Shipment Date
-
raisedBy:
string
Raised By
-
reasonForExport:
string
-
remarks:
string
Remarks
-
reqShipmentDate:
string
Request shipment date
-
shipmentAddr:
string
Shipment Address
-
shipmentAddr2:
string
Shipment Address2
-
shipmentAddr3:
string
Shipment Address3
-
shipmentCountry:
string
Shipment Country
-
shipTo:
string
Shipment To
-
sourceTxnId:
string
sourceTxnId
-
supplierDivCode:
string
Supplier Division Code
-
supplierDivName:
string
Supplier Division Name
-
supplierId:
string
Supplier Id
-
supplierName:
string
Supplier Name
-
taxAmount:
number
Tax Amount
-
taxId:
string
Tax Id
-
taxPercent:
number
Tax Percent
-
termsOfSale:
string
Terms of sale
-
zipCode:
string
Zipcode
Nested Schema : PoComServiceDTO
Type:
Show Source
object
-
commodityCode:
string
Commodity Code
-
commodityName:
string
Commodity Name
-
currency:
string
CCY for commodity
-
discountAmount:
number
Dsicount Amt for Commodity
-
discountPercent:
number
Discount percent for Commodity
-
goodsDescription:
string
Description of Commodity
-
id:
string
Id to modify
-
netCost:
number
Net Cost of Commodity
-
quantity:
number
Quantity of Commodity
-
taxAmount:
number
Tax Amount of Commodity
-
taxPercent:
number
Tax Percent of Commodity
-
totalCost:
number
Total Cost Of Commodity
-
totalWeight:
number
Total Weight of Commodity
-
unit:
string
Unit of Commodity
-
unitCost:
number
Unit Cost of Commodity
-
unitWeight:
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:
string
Buyer Id
-
errors:
array errors
Error List
-
poExternalNumber:
string
Po External Number
-
poInternalNumber:
string
Po Internal Number
-
poStatus:
string
Po Status
-
poTransactionRefNo:
string
Po Transaction Ref Number
-
processStatus:
string
Process Status
-
sourceTxnId:
string
sourceTxnId
Nested Schema : ErrorDto
Type:
Show Source
object
-
errorCode:
string
Error Code
-
errorDesc:
string
Error Desc
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