fusion_api_describe
Get the writable field list for a REST resource: types, lengths, allowed values, required source, and child collections. Use it to know what to include before submitting a document.
Instructions
The field list for one REST resource -- the script for collecting input.
Returns each settable field with its type, business description, length
limit and list-of-values, plus the child collections (lines,
attachments) a complete document usually needs.
Read required_fields and required_source before trusting anything
else. When required_source says the pod's own message, that list is
authoritative. When it says "not probed", the per-field
declared_mandatory flags are the only thing available and they are known
wrong in BOTH directions on this pod: ExternallyManagedFlag is declared
optional and is required; RequisitionHeaderId is declared mandatory and
must not be sent at all.
Args:
resource: Exact resource name, e.g. purchaseRequisitions.
writable_only: Drop fields the caller can never set (generated ids,
audit columns). On purchaseRequisitions this is 25 fields rather
than 68 -- the other 43 are questions no user can answer.
limit: Maximum number of fields returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| resource | Yes | ||
| writable_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||