Create Purchase Order Header
- 25 Sep 2024
- 2 Minutes to read
- Print
- DarkLight
Create Purchase Order Header
- Updated on 25 Sep 2024
- 2 Minutes to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Post
/po-rest-api/rest/1/pomaster
Create Purchase Order Headers
Security
HTTP
Type basic
Basic authentication
Header parameters
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceItem+json
Query parameters
finder
string
ExampleselectByCompanyStatus; AuditDate=2016-12-20, StatCode=A, CompanyCode=001
limit
integer
Example500
offset
integer
Example0
totalResults
boolean
Exampletrue
orderBy
string
ExamplePomstNum:desc
Body parameters
object
Example{ "PomstBuyCode": "CMICUSER", "PomstChgCode": "O", "PomstCompCode": "001", "PomstJobCompCode": "001", "PomstComplianceFlag": "Y", "PomstCurrCode": "USD", "PomstDefaultRecCode": "M", "PomstDistTypeCode": "M", "PomstExptdDate": "2022-12-21", "PomstNum": "16.00099", "PomstOrdDate": "2022-12-21", "PomstPoAmount": 167.9, "PomstReleaseNum": 1.0, "PomstReprintDate": null, "PomstReqCode": "CMICUSER", "PomstReqNum": "RQ000093", "PomstSelectFlag": "N", "PomstStatCode": "O", "PomstStateDesc": "Processed", "PomstTermCode": "NET30", "PomstTermDiscDay": 0.0, "PomstTermDiscPc": 0.0, "PomstTermDueDay": 30.0, "PomstTermName": "Net 30", "PomstTypeCode": "S", "PomstVUuid": "", "PomstVenCode": "1159", "PomstWkfPriorityCode": "1" }
PomstBuyCode
string
Buy code
PomstReprintDate
null
Reprint date
PomstTermDueDay
number
Term due date
PomstVUuid
string
Column for unique identification during use of JSON webservices with external systems, leave empty
PomstCurrCode
string
Currency code
PomstTermDiscPc
number
Not used
PomstVenCode
string
Vendor code
PomstNum
string
Master number
PomstOrdDate
null
Order date
PomstPoAmount
number
Purchase order amount
PomstTermCode
string
Term code
PomstWkfPriorityCode
string
Priority code
PomstComplianceFlag
string
Compliance flag
PomstTermDiscDay
number
Not used
PomstChgCode
string
Change code
PomstExptdDate
null
Expected date
PomstJobCompCode
string
Associated to the pomst_job_comp_code. It is null if the Job is not entered. Defaults to pomst_comp_code if the Job code is entered
PomstStatCode
string
Statistics code
PomstReqNum
string
Request number
PomstCompCode
string
Company code
PomstTypeCode
string
Type code
PomstStateDesc
string
Statement description
PomstReqCode
string
Request code
PomstTermName
string
Term namm
PomstReleaseNum
number
Release number
PomstSelectFlag
string
PomstDistTypeCode
string
Distribution Type for header. Used in ADF Program
PomstDefaultRecCode
string
Default rec code
Responses
201
Created
Headers
Content-Type
string
Exampleapplication/vnd.oracle.adf.resourceitem+json
{
"PomstAcctDescription": null,
"PomstActionCode": null,
"PomstAddCode": null,
"PomstAddCompCode": null,
"PomstAddCompName": null,
"PomstAddName": null,
"PomstAdjCode": null,
"PomstAdjPrice": null,
"PomstBchNum": null,
"PomstBilltoAddCode": null,
"PomstBilltoAddName": null,
"PomstBuyCode": "CMICUSER",
"PomstBuyName": null,
"PomstChgCode": "O",
"PomstCompCode": "001",
"PomstCompName": null,
"PomstComplianceFlag": "Y",
"PomstContactCode": null,
"PomstContactName": null,
"PomstCostedCode": null,
"PomstCurrCode": "USD",
"PomstCurrConvNum": null,
"PomstDefaultRecCode": "M",
"PomstDeptCode": null,
"PomstDesc1": null,
"PomstDesc2": null,
"PomstDistTypeCode": "M",
"PomstExptdDate": "2022-12-21",
"PomstFobCode": null,
"PomstFobName": null,
"PomstHoldPaymentDays": null,
"PomstHoldPaymentFlag": null,
"PomstImageFilename": null,
"PomstInvCode": null,
"PomstInvDate": null,
"PomstInvDiscAmt": null,
"PomstInvDiscDate": null,
"PomstInvDueDate": null,
"PomstInvSerCode": null,
"PomstInvTypeCode": null,
"PomstJobCode": null,
"PomstJobCompCode": "001",
"PomstManPoRecFlag": null,
"PomstNum": "16.00099",
"PomstOrdDate": "2022-12-21",
"PomstOrigBidpAmt": null,
"PomstPoAmount": 167.9,
"PomstPorgrCode": null,
"PomstPrintStatus": null,
"PomstRecCode": null,
"PomstRecDate": null,
"PomstRefDate": null,
"PomstRefNum": null,
"PomstReleaseNum": 1,
"PomstReprintDate": null,
"PomstReqCode": "CMICUSER",
"PomstReqName": null,
"PomstReqNum": "RQ000093",
"PomstReqReason": null,
"PomstRoutCompCode": null,
"PomstRoutJobCode": null,
"PomstSelectFlag": "N",
"PomstShipinstTxt1Code": null,
"PomstShipinstTxt2Code": null,
"PomstShipinstTxt3Code": null,
"PomstShipinstTxt4Code": null,
"PomstShipinstTxt5Code": null,
"PomstShpinstDesc": null,
"PomstShplneCode": null,
"PomstShplneName": null,
"PomstShpmetCode": null,
"PomstShpmetName": null,
"PomstStatCode": "O",
"PomstStateDesc": "Processed",
"PomstSuspDeptCode": null,
"PomstSuspDeptName": null,
"PomstTermCode": "NET30",
"PomstTermDiscDay": 0,
"PomstTermDiscPc": 0,
"PomstTermDueDay": 30,
"PomstTermName": "Net 30",
"PomstTxt1Code": null,
"PomstTxt2Code": null,
"PomstTypeCode": "S",
"PomstUnadjPrice": null,
"PomstUserField1": null,
"PomstUserField2": null,
"PomstUserField3": null,
"PomstVUuid": "F3B7677353477375E05316821FAC220C",
"PomstVenCode": "1159",
"PomstVenName": null,
"PomstVendOrderAddCode": null,
"PomstWipAccCode": null,
"PomstWipDeptCode": null,
"PomstWkfPriorityCode": "1",
"PomstIuCreateDate": null,
"PomstIuUpdateDate": null,
"PomstPostDate": null,
"links": [
{
"rel": "self",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/pomaster/F3B7677353477375E05316821FAC220C",
"name": "pomaster",
"kind": "item"
},
{
"rel": "canonical",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/pomaster/F3B7677353477375E05316821FAC220C",
"name": "pomaster",
"kind": "item"
},
{
"rel": "child",
"href": "http://mobtest.cmiccloudr12.com:80/cmictestrti/po-rest-api/rest/1/pomaster/F3B7677353477375E05316821FAC220C/child/PoDetailViewObj",
"name": "PoDetailViewObj",
"kind": "collection"
}
]
}
object