> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Search Service Contract Items

Retrieve service contracts item.

<Note>
  External Documentation

  To learn more, visit the [SAP CRM documentation](https://api.sap.com/api/API_SERVICE_CONTRACT_SRV/tryout).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description |
  | - | - |
  | Expand | Select the navigation properties to return inline with the results. |
  | Filter | The OData filter expression to narrow down the results.<br /><br />For more information refer to the [System Query Option](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=64). |
  | Inline Count | Select to return the total number of matching records in the response. For more information refer to the [System Query Option](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=67). |
  | Order By | Select the fields to sort the results by. Use asc for ascending order, otherwise, the order defaults to descending.<br /><br />For more information refer to the [System Query Option](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=65). |
  | 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](https://help.sap.com/doc/5890d27be418427993fafa6722cdc03b/Cloud/en-US/OdataV2.pdf#page=68). |
  | Skip | The number of records to skip before returning results. |
  | Top | The maximum number of records to return. |
</div>

## Example Output

```json theme={"dark"}
{
	"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"
					}
				}
			}
		]
	}
}
```

## Workflow Library Example

[Search Service Contract Items with Sap Crm and Send Results Via Email](https://library.blinkops.com/workflows/search-service-contract-items-with-sap-crm-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/search-service-contract-items-with-sap-crm-and-send-results-via-email/canvas" />
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.