Get entity from CrmDiscountLines by key
GET/CrmDiscountLines(:id)
Get entity from CrmDiscountLines by key
Request
Path Parameters
Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
key: id of CrmDiscountLine
Query Parameters
Possible values: [crmAccountId
, description
, featureModelIds
, discountOnExVat
, type
, discountAmount
, discountPct
, appliesTo
, id
, createdDate
, updatedDate
, organizationId
, reference
, creatorId
, customField1
, customField2
, customField3
, customField4
, customField5
, organization
]
Select properties to be returned
Possible values: [*
, organization
]
Expand related entities
Responses
- 200
- default
Retrieved entity
- application/json
- Schema
- Example (from schema)
Schema
Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
{
"crmAccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"description": "string",
"featureModelIds": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"discountOnExVat": true,
"type": {},
"discountAmount": 0,
"discountPct": 0,
"appliesTo": {},
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdDate": "2024-12-04T06:46:24.162Z",
"updatedDate": "2024-12-04T06:46:24.162Z",
"organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"reference": "string",
"creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"customField1": "string",
"customField2": "string",
"customField3": "string",
"customField4": "string",
"customField5": "string",
"organization": {}
}
error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
error
object
required
details
object[]
The structure of this object is service-specific
{
"error": {
"code": "string",
"message": "string",
"target": "string",
"details": [
{
"code": "string",
"message": "string",
"target": "string"
}
],
"innererror": {}
}
}