Create Custom Field Definition
Create or update customfielddefinition data in Xorosoft ERP. Send the JSON payload using the field names documented in this operation and in the module export/import format used by Xorosoft ERP.
Defines custom fields for a supported transaction type.
Transaction type that owns the custom fields, such as Sales Order or Purchase Order.
Request processed successfully.
Standard Xorosoft ERP API response envelope used by most endpoints.
True when the operation completed successfully.
Human-readable success or error message.
Current page number when paging is enabled.
Total page count when paging is enabled.
Invalid request, failed validation, or business rule error.
Missing or invalid private app credentials.
Private app does not have permission for this request.
POST /api/xerp/customfielddefinition/create HTTP/1.1
Host: res.xorosoft.io
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 204
{
"TransactionTypeName": "Sales Order",
"CustomFieldConfigDetailList": [
{
"Name": "External Channel",
"Label": "External Channel",
"DataType": "String",
"ActiveFlag": true,
"RequiredFlag": false,
"CustomSource": false
}
]
}{
"Result": true,
"Message": "Request processed successfully",
"Data": {}
}Last updated
Was this helpful?