Purchasing Change Order Templates
purchasingChangeOrderTemplates Based on 26C
Create, change, delete and look up Purchasing Change Order Templates, with attributes. Actions include validate change order template is used by a document.
- Operations
- GET (list)GET (one)POST (create)PATCH (update)DELETE1 action
- Record key
ChangeOrderTemplateId- Required on create
ChangeOrderSeededTemplateIdChangeOrderTemplateCodeChangeOrderTemplateNameDocumentTypeCode- At a glance
- 13 fields0 finders1 children
Try it
Only attributes Oracle marks as searchable are offered.
GET /fscmRestApi/resources/11.13.18.05/purchasingChangeOrderTemplates?fields=ChangeOrderSeededTemplateId,ChangeOrderTemplateCode,ChangeOrderTemplateId,ChangeOrderTemplateName,CreatedBy&limit=25&onlyData=true
{
"items": [
{
"ChangeOrderSeededTemplateId": 0,
"ChangeOrderTemplateCode": "<string, max 30>",
"ChangeOrderTemplateId": 0,
"ChangeOrderTemplateName": "<string, max 240>",
"CreatedBy": "<string, max 64>"
}
],
"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 13
| Attribute | Type | Use |
|---|---|---|
ChangeOrderSeededTemplateId | number | Required on createSearchable |
ChangeOrderTemplateCode | text · max 30 | Required on createSearchable |
ChangeOrderTemplateId | number | Optional on createSearchable |
ChangeOrderTemplateName | text · max 240 | Required on createUpdatableSearchable |
CreatedBy | text · max 64 | Read-onlySearchable |
CreationDate | date-time | Read-onlySearchable |
Description | text · max 240 | Optional on createUpdatableSearchable |
DocumentType | text · max 80 | Read-onlySearchable |
DocumentTypeCode | text · max 25 | Required on createSearchable |
LastUpdateDate | date-time | Read-onlySearchable |
LastUpdatedBy | text · max 64 | Read-onlySearchable |
Status | text · max 80 | Read-onlySearchable |
StatusCode | text · max 30 | Optional on createUpdatableSearchable |
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/purchasingChangeOrderTemplates/{ChangeOrderTemplateId}/child/<name>. Add them to a GET with expand.
attributesGET · POST · PATCH · DELETE Attributes · 11 fieldsAttributeCodeAttributeNameChangeOrderTemplateIdCreatedByCreationDateEntityTypeLastUpdateDateLastUpdatedByListOrderReviseDocumentFlagUserUpdatableFlag
Actions 1
POST …/{ChangeOrderTemplateId}/action/validateChangeOrderTemplateIsUsedByADocument
Actions use Content-Type: application/vnd.oracle.adf.action+json. A path with a {key} runs on one record.
Use in AI Agent Studio
- Point a Business Object or REST tool at
/fscmRestApi/resources/11.13.18.05/purchasingChangeOrderTemplatesand 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:ChangeOrderSeededTemplateId, notchangeorderseededtemplateid. - 6 fields are read-only: sending them in POST or PATCH fails or is ignored. The builder leaves them out.
- 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.