This object provides document conversion details for purchasing transactions.
Returns a collection with a key, ID, and link for each purchasing transaction source document detail object.
OK
Bad Request
{- "ia::result": [
- {
- "key": "23",
- "id": "23",
- "href": "/objects/purchasing/txn-definition-source-document-detail/23"
}, - {
- "key": "19",
- "id": "19",
- "href": "/objects/purchasing/txn-definition-source-document-detail/19"
}, - {
- "key": "16",
- "id": "16",
- "href": "/objects/purchasing/txn-definition-source-document-detail/16"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new transaction definition source document detail object.
object Specify the transaction definitions from which this transaction can be converted. For example, a purchasing invoice can be converted from a purchase order. Example: {"id":"PO Receiver"} | |||||
| |||||
object Purchasing transaction definition associated with this source document detail object. Example: {"key":"96"} | |||||
|
Created
Bad Request
{- "purchasingTxnDefinition": {
- "key": "96"
}, - "sourceDocument": {
- "id": "PO Receiver"
}
}
{- "ia::result": {
- "key": "78",
- "id": "78",
- "href": "/objects/purchasing/txn-definition-source-document-detail/78"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified transaction definition source document detail object.
key required | string System-assigned unique key for the transaction definition source document detail object. Example: 136 |
OK
Bad Request
{- "ia::result": {
- "id": "76",
- "key": "76",
- "purchasingTxnDefinition": {
- "key": "96",
- "id": "DEMO1",
- "href": "/objects/purchasing/txn-definition/96"
}, - "sourceDocument": {
- "key": "6",
- "id": "PO Receiver",
- "href": "/objects/purchasing/txn-definition/6"
}, - "href": "/objects/purchasing/txn-definition-source-document-detail/76"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing transaction definition source document detail object by setting field values. Any fields not provided remain unchanged.
key required | string System-assigned unique key for the transaction definition source document detail object. Example: 136 |
object Specify the transaction definitions from which this transaction can be converted. For example, a purchasing invoice can be converted from a purchase order. | |||||
| |||||
object Purchasing transaction definition associated with this source document detail object. | |||||
|
OK
Bad Request
{- "purchasingTxnDefinition": {
- "key": "96"
}, - "sourceDocument": {
- "id": "PO Return"
}
}
{- "ia::result": {
- "key": "78",
- "id": "78",
- "href": "/objects/purchasing/txn-definition-source-document-detail/78"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a transaction definition source document detail object.
key required | string System-assigned unique key for the transaction definition source document detail object. Example: 136 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}
Use the query service to find transaction definition source document details that meet certain criteria and to specify the properties that are returned.
OK