External DocumentationTo learn more, visit the SAP CRM documentation.
Parameters
| Parameter | Description |
|---|---|
| Expand | Select the navigation properties to return inline with the results. |
| Filter | The OData filter expression to narrow down the results. For more information refer to the System Query Option. |
| Inline Count | Select to return the total number of matching records in the response. For more information refer to the System Query Option. |
| Order By | Select the fields to sort the results by. Use asc for ascending order, otherwise, the order defaults to descending. For more information refer to the System Query Option. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Select | Select the fields to return. For more information refer to the System Query Option. |
| Skip | The number of records to skip before returning results. |
| Top | The maximum number of records to return. |
Example Output
{
"d": {
"results": [
{
"__metadata": {
"id": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContract('7000000000')",
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContract('7000000000')",
"type": "API_SERVICE_CONTRACT_SRV.A_ServiceContractType"
},
"ServiceContract": "7000000000",
"ServiceContractType": "SC1",
"ServiceContractDescription": "SC1",
"Language": "EN",
"ServiceContractStartDateTime": "20190908000000",
"ServiceContractEndDateTime": "20200908000000",
"PurchaseOrderByCustomer": "",
"CustomerPurchaseOrderDate": null,
"ServiceDocGrossAmount": "1306.80",
"ServiceDocNetAmount": "1200.00",
"ServiceDocTaxAmount": "106.80",
"TransactionCurrency": "USD",
"ServiceContractIsReleased": "",
"ServiceContractIsCompleted": "",
"SrvcContrCreditStatus": "",
"SalesOrganization": "1710",
"DistributionChannel": "10",
"Division": "00",
"SalesOffice": "",
"SalesGroup": "",
"SoldToParty": "17100001",
"ShipToParty": "17100001",
"BillToParty": "17100001",
"PayerParty": "17100001",
"ContactPerson": "17910005",
"PersonResponsible": "9980001882",
"ServiceContractCanclnParty": "",
"ServiceContrCancellationReason": "",
"SrvcContrCancellationDateTime": "0",
"ReferenceServiceContract": "",
"ReferenceServiceQtan": "",
"to_Item": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContract('7000000000')/to_Item"
}
},
"to_Text": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContract('7000000000')/to_Text"
}
}
}
]
}
}