Purchasing Document Styles
purchasingDocumentStyles Based on 26C
Create, change and look up Purchasing Document Styles, with line types.
The record key purchasingDocumentStylesUniqID is a generated hash. Take it from the record's links (rel self) in a GET response; never build it yourself.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)
- Record key
purchasingDocumentStylesUniqID- Required on create
LineTypeAllowedLineTypeAllowedCodeStatusStatusCodeStyleName- At a glance
- 27 fields0 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/purchasingDocumentStyles?fields=AmountPurchaseBasisEnabledFlag,BlanketDocumentStyleTypeDisplayName,BlanketDocumentStyleTypeEnabledFlag,ConfigurationOrderingEnabledFlag,ConsignmentTermsEnabledFlag&limit=25&onlyData=true
{
"items": [
{
"AmountPurchaseBasisEnabledFlag": false,
"BlanketDocumentStyleTypeDisplayName": "<string, max 240>",
"BlanketDocumentStyleTypeEnabledFlag": false,
"ConfigurationOrderingEnabledFlag": false,
"ConsignmentTermsEnabledFlag": false
}
],
"count": 25,
"hasMore": true,
"limit": 25,
"offset": 0
}Shapes and placeholders, not real data. Replace https://<your-pod> and the login with your own: this site never sees them. Based on Oracle's 26C REST specification.
Fields 27
| Attribute | Type | Use |
|---|---|---|
AmountPurchaseBasisEnabledFlag | yes/no · max 1 | Optional on createUpdatable |
BlanketDocumentStyleTypeDisplayName | text · max 240 | Optional on createUpdatable |
BlanketDocumentStyleTypeEnabledFlag | yes/no · max 1 | Optional on createUpdatable |
ConfigurationOrderingEnabledFlag | yes/no · max 1 · default false | Optional on createUpdatable |
ConsignmentTermsEnabledFlag | yes/no · max 1 · default false | Optional on createUpdatable |
ContractDocumentStyleTypeDisplayName | text · max 240 | Optional on createUpdatable |
ContractDocumentStyleTypeEnabledFlag | yes/no · max 1 | Optional on createUpdatable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
CreditLineTypesEnabledFlag | yes/no · max 1 · default false | Optional on createUpdatable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
LineTypeAllowed | text · max 80 | Required on createUpdatable |
LineTypeAllowedCode | text · max 30 | Required on createUpdatable |
OutsideProcessingEnabledFlag | yes/no · max 1 · default false | Optional on createUpdatable |
PriceBreaksEnabledFlag | yes/no · max 1 | Optional on createUpdatable |
ProgressPaymentEnabledFlag | yes/no · max 1 · default false | Optional on createUpdatable |
QuantityPurchaseBasisEnabledFlag | yes/no · max 1 | Optional on createUpdatable |
RetainageEnabledFlag | yes/no · max 1 · default false | Optional on createUpdatable |
StandardDocumentStyleTypeDisplayName | text · max 240 | Optional on createUpdatable |
Status | text · max 80 | Required on createUpdatableSearchable |
StatusCode | text · max 30 | Required on createUpdatableSearchable |
StyleDescription | text · max 240 | Optional on createUpdatableSearchable |
StyleId | number | Optional on createSearchable |
StyleName | text · max 240 | Required on createUpdatableSearchable |
StyleType | text · max 30 | Read-onlySearchable |
WorkConfirmationEnabledFlag | yes/no · max 1 · default false | Optional on createUpdatable |
Names, types, labels and flags from Oracle's REST specification (26C). Flexfield and custom attributes vary by pod: check /describe for yours.
Check a payload
Checked in your browser only; nothing you paste is sent anywhere. Checks names and flags, not values.
Children 1
Child resources sit under one record: /fscmRestApi/resources/11.13.18.05/purchasingDocumentStyles/{purchasingDocumentStylesUniqID}/child/<name>. Add them to a GET with expand.
lineTypesGET · POST Line Types · 7 fieldsCreatedByCreationDateEnabledFlagLastUpdateDateLastUpdatedByLineTypeIdStyleId
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/purchasingDocumentStylesand ask only for the fields the agent needs withfields=. Big responses cost tokens and slow the agent. - Narrow with
q=on searchable fields and a smalllimit; for a count usetotalResults=true&limit=1. - Call once and pass the result on to later steps rather than calling the same endpoint again.
- This resource can change data. Put a human approval step before any create, update, delete or action call.
More in For Builders.
Pitfalls
- Attribute names are case-sensitive in
q,fieldsand bodies:AmountPurchaseBasisEnabledFlag, notamountpurchasebasisenabledflag. - 5 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
onlyData=trueremoveslinks, and this resource's key only comes fromlinks. Leave it off when you need the key.- Send dates as
YYYY-MM-DD; date-time fields take ISO 8601 with a time zone. - A list returns 25 rows unless you set
limit; readhasMoreand moveoffsetto page through. - Text fields have maximum lengths (shown in the field table). Longer values are rejected.