Create the purchase order details
post
/service/v1/postPoTxnData
This endpoint is used to create the purchase order details.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId: string
App Id
-
branchCode: string
Branch Code
-
userId: string
User Id
Request body with purchase order details to be persisted
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : PoTxnDTO-allOf[1]
Type:
Show Source
object
-
acceptanceAmount(optional):
number
Acceptance Amount
-
buyerId(optional):
string
Buyer Id
-
buyerName(optional):
string
Buyer Name
-
currency(optional):
string
Currency
-
event(optional):
string
Event
-
netPoAmount(optional):
number
Net Po Amount
-
obPoTxnId(optional):
string
Ob Po Transaction Id
-
poDate(optional):
string
Po Date
-
poExternalNumber(optional):
string
Po External Number
-
poInternalNumber(optional):
string
Po Internal Number
-
poStatus(optional):
string
Po Status
-
processingDate(optional):
string
Processing Date
-
programId(optional):
string
Program Id
-
programName(optional):
string
Program Name
-
promisedShipmentDate(optional):
string
Promised Shipment Date
-
relationshipCode(optional):
string
Relationship Code
-
supplierId(optional):
string
Supplier Id
-
supplierName(optional):
string
Supplier Name
-
txnRefNo(optional):
string
Transaction Reference Number
Response
Supported Media Types
- application/json
- application/xml
200 Response
Success
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error