API - Contract Detail Ln
This page supports access to contracts detail lines.
Object Definition
Object Type | Page |
Object ID | 70299110 |
Object Name | QWEPR API - Contract Detail Ln |
Source Table | QWEPR Contract Detail Line |
API Definition
APIPublisher | smartApps |
APIGroup | parrot |
APIVersion | v1.0 |
EntitySetName | contractDetailLines |
EntityName | contractDetailLine |
Example
Read
Get a list of Contract Detail Lines.
GET businesscentralPrefix/companies({id})/contractDetailLines?$schemaversion=2.0
Get a single Contract Detail Line.
GET businesscentralPrefix/companies({id})/contractDetailLines({id})?$schemaversion=2.0
Create
Create a new Contract Detail Line.
POST businesscentralPrefix/companies({id})/contractDetailLines?$schemaversion=2.0
Content-Type: application/json
{
"documentNumber": "T00001",
"documentLineNumber": "10000",
"lineNumber": "10000",
"quantity": 2,
"unitPrice": 15
}
Update
Update a Contract Detail Line.
PATCH businesscentralPrefix/companies({id})/contractDetailLines({id})?$schemaversion=2.0
If-Match: {@odata.etag from the POST response}
Content-Type: application/json
{
"quantity": 10
}
Controls
Type | Name | Data Type | Read-only |
---|---|---|---|
Field | id | Guid | Yes |
Field | documentNumber | Code[20] | |
Field | documentLineNumber | Integer | |
Field | lineNumber | Integer | |
Field | categoryCode | Code[10] | |
Field | description | Text[100] | |
Field | quantity | Decimal | |
Field | unitPrice | Decimal | |
Field | chargeableSharePercent | Decimal | |
Field | discountPercent | Decimal | |
Field | chargeableAmount | Decimal | |
Field | date | Date | |
Field | comment | Text[80] | |
Field | systemCreatedAt | DateTime | Yes |
Field | systemCreatedBy | Guid | Yes |
Field | lastModifiedDateTime | DateTime | Yes |
Field | systemModifiedBy | Guid | Yes |
This documentation is generated from Parrot v23.0.208813.0