TAG LINE
TAG LINE
SMALL TITLE
Specfies how many days that a customer has to pay an invoice. For example Net30.
identity READ-ONLY | "identity": 16 Type: Number This is the unique numeric identifier for the PaymentTerm |
ownerId READ-ONLY | "ownerId": 24 Type: Number Unique identifier for the associated Owner object. |
ownerName READ-ONLY | "ownerName": "Sample Name" Type: String The name of the object associated with the ownerId property. |
name | "name": "Net30" Type: String User defined name for the Payment Term. |
paymentTermTypeId | "paymentTermTypeId": 12 Type: Number Unique identifier for the associated PaymentTermType object. |
paymentTermTypeName | "paymentTermTypeName": "Sample Name" Type: String The name of the object associated with the paymentTermTypeId property. |
value | "value": 15 Type: Number Number of days |
DELETE | Payment/Term/{id} |
Delete an instance of the PaymentTerm object. Upon successful delete, this API will return a record of all of the related objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system. | |
{id} | Unique identifier for the PaymentTerm object. |
Delete an instance of the PaymentTerm object. DELETE Payment/Term/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "delete", "results": { "totalCount": 4, "items": [ { "identity": 1, "action": "deleted", "dtoTypeKey": "paymentTerm" }, { "lhsId": 2, "rhsId": 2, "action": "detached", "dtoTypeKey": "sampleObjectConnector" }, { "foreignKeyIdentity": 2, "action": "deleted", "dtoTypeKey": "sampleObject" } ] } } |
GET | Payment/Term/ |
Retrieve all of the PaymentTerm objects. | |
Retrieve all of the PaymentTerm objects. GET Payment/Term/ HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "totalCount": 1, "items": [ { "identity": 1, "ownerId": 18, "ownerName": "Sample Text Data", "name": "Net30", "paymentTermTypeId": 0, "paymentTermTypeName": "Sample Text Data", "value": 3 } ] } |
GET | Payment/Term/Paged |
Retrieve all of the PaymentTerm objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints. | |
Retrieve all of the PaymentTerm objects in a paged fashion. GET Payment/Term/Paged HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "pagination": { "pageNumber": 1, "pageSize": 20, "excludeTotalCount": false }, "pagedResults": { "totalCount": 1, "items": [ { "identity": 1, "ownerId": 26, "ownerName": "Sample Text Data", "name": "Net30", "paymentTermTypeId": 23, "paymentTermTypeName": "Sample Text Data", "value": 1 } ] } } |
GET | Payment/Term/{id} |
Retrieve an instance of the PaymentTerm object by its ID. | |
{id} | Unique identifier for the PaymentTerm object. |
Retrieve an instance of the PaymentTerm object by its ID. GET Payment/Term/{id} HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "instance": { "identity": 1, "ownerId": 11, "ownerName": "Sample Text Data", "name": "Net30", "paymentTermTypeId": 26, "paymentTermTypeName": "Sample Text Data", "value": 8 } } |
POST | Payment/Term/ |
Create a new instance of the PaymentTerm object. | |
Create a new instance of the PaymentTerm object. POST Payment/Term/ { "name": "Net30", "paymentTermTypeId": 3, "value": 12 } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "create", "results": { "totalCount": 1, "items": [ { "identity": 1, "ownerId": 2, "ownerName": "Sample Text Data", "name": "Net30", "paymentTermTypeId": 0, "paymentTermTypeName": "Sample Text Data", "value": 1 } ] } } |
PUT | Payment/Term/{id} |
Update an existing instance of the PaymentTerm object. | |
Update an existing instance of the PaymentTerm object. PUT Payment/Term/{id} { "identity": 1, "name": "Net30", "paymentTermTypeId": 20, "value": 14 } HTTP/1.1 200 OK { "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b", "type": "update", "results": { "totalCount": 1, "items": [ { "identity": 1, "ownerId": 27, "ownerName": "Sample Text Data", "name": "Net30", "paymentTermTypeId": 4, "paymentTermTypeName": "Sample Text Data", "value": 11 } ] } } |