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_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')",
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')",
"type": "API_SERVICE_CONTRACT_SRV.A_ServiceContractItemType"
},
"ServiceContract": "7000000000",
"ServiceContractItem": "000100",
"ServiceContractItemCategory": "SCN1",
"Product": "SRV_CONTRACT",
"Quantity": "1.000",
"QuantityUnit": "AU",
"ServiceContractItemDescription": "Service Contract Product",
"Language": "EN",
"ServiceDocItemGrossAmount": "1306.80",
"ServiceDocumentItemNetAmount": "1200.00",
"ServiceDocumentItemTaxAmount": "106.80",
"TransactionCurrency": "USD",
"ServiceContractItemIsReleased": "",
"ServiceContractItemIsCompleted": "",
"ServiceContractItemCanclnParty": "",
"ServiceContractItmCanclnReason": "",
"SrvcContrItemCreditStatus": "",
"ServiceContractItemCanclnDate": "0",
"ServiceContrItemStartDateTime": "20190908000000",
"ServiceContrItemEndDateTime": "20200908000000",
"BillingPlanBillingDateRuleName": "BILL0002",
"SettlementPeriodRuleName": "BILL0004",
"BillingPlanPriceDateRule": "",
"BillingPlanIsFinalized": false,
"BillingBlockReason": "",
"ShipToParty": "17100001",
"PersonResponsible": "9980001882",
"BillToParty": "17100001",
"PayerParty": "17100001",
"ContactPerson": "17910005",
"ReferenceServiceContractItem": "",
"ReferenceServiceQtanItem": "",
"SrvcContrItemRnwlDuration": "3",
"SrvcContrItemRnwlDurationUnit": "WK",
"SrvcContrItemExtensionDuration": "1",
"SrvcContrItemExtnDurationUnit": "YR",
"SrvcTransChangeProcess": "",
"SrvcTransChangeProcessType": "",
"SrvcTransChgProcSourceTransID": "",
"SrvcTransChgProcSourceItemID": "000000",
"SrvcTransChgProcSourceItemUUID": "00000000-0000-0000-0000-000000000000",
"ProfitCenter": "",
"to_BillingRequestItem": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')/to_BillingRequestItem"
}
},
"to_ObjectList": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')/to_ObjectList"
}
},
"to_PricingElement": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')/to_PricingElement"
}
},
"to_ProductList": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')/to_ProductList"
}
},
"to_ReleasedOrder": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')/to_ReleasedOrder"
}
},
"to_ServiceContract": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')/to_ServiceContract"
}
},
"to_Text": {
"__deferred": {
"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContractItem(ServiceContract='7000000000',ServiceContractItem='000100')/to_Text"
}
}
}
]
}
}