// fusionrest agent · procurement

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.

/fscmRestApi/resources/11.13.18.05/purchasingDocumentStyles
Operations
GET (list)GET (one)POST (create)PATCH (update)
Record key
purchasingDocumentStylesUniqID
Required on create
LineTypeAllowedLineTypeAllowedCodeStatusStatusCodeStyleName
At a glance
27 fields0 finders1 children
I want to…List the latest 25Count recordsGet one recordCreate oneUpdate one

Try it

Response fields ·
Filters (q)

Only attributes Oracle marks as searchable are offered.

Include children (expand)
Paging and options
limit
Endpoint and headers
GET /fscmRestApi/resources/11.13.18.05/purchasingDocumentStyles?fields=AmountPurchaseBasisEnabledFlag,BlanketDocumentStyleTypeDisplayName,BlanketDocumentStyleTypeEnabledFlag,ConfigurationOrderingEnabledFlag,ConsignmentTermsEnabledFlag&limit=25&onlyData=true
Response shape (placeholders)
{
  "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

AttributeTypeUse
AmountPurchaseBasisEnabledFlagyes/no · max 1Optional on createUpdatable
BlanketDocumentStyleTypeDisplayNametext · max 240Optional on createUpdatable
BlanketDocumentStyleTypeEnabledFlagyes/no · max 1Optional on createUpdatable
ConfigurationOrderingEnabledFlagyes/no · max 1 · default falseOptional on createUpdatable
ConsignmentTermsEnabledFlagyes/no · max 1 · default falseOptional on createUpdatable
ContractDocumentStyleTypeDisplayNametext · max 240Optional on createUpdatable
ContractDocumentStyleTypeEnabledFlagyes/no · max 1Optional on createUpdatable
CreatedBytext · max 64Read-onlySearchable
CreationDatedate-timeRead-onlySearchable
CreditLineTypesEnabledFlagyes/no · max 1 · default falseOptional on createUpdatable
LastUpdateDatedate-timeRead-onlySearchable
LastUpdatedBytext · max 64Read-onlySearchable
LineTypeAllowedtext · max 80Required on createUpdatable
LineTypeAllowedCodetext · max 30Required on createUpdatable
OutsideProcessingEnabledFlagyes/no · max 1 · default falseOptional on createUpdatable
PriceBreaksEnabledFlagyes/no · max 1Optional on createUpdatable
ProgressPaymentEnabledFlagyes/no · max 1 · default falseOptional on createUpdatable
QuantityPurchaseBasisEnabledFlagyes/no · max 1Optional on createUpdatable
RetainageEnabledFlagyes/no · max 1 · default falseOptional on createUpdatable
StandardDocumentStyleTypeDisplayNametext · max 240Optional on createUpdatable
Statustext · max 80Required on createUpdatableSearchable
StatusCodetext · max 30Required on createUpdatableSearchable
StyleDescriptiontext · max 240Optional on createUpdatableSearchable
StyleIdnumberOptional on createSearchable
StyleNametext · max 240Required on createUpdatableSearchable
StyleTypetext · max 30Read-onlySearchable
WorkConfirmationEnabledFlagyes/no · max 1 · default falseOptional 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.

Use in AI Agent Studio

More in For Builders.

Pitfalls