> ## 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.

# Get Service Contract

Retrieve the details of a service contract.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [SAP CRM documentation](https://api.sap.com/api/API_SERVICE_CONTRACT_SRV/tryout).

## Parameters

| Parameter | Description |
| - | - |
| Expand | Select the navigation properties to return inline with the results. |
| 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). |
| Service Contract | The service contract number to return. Can be obtained using `List Service Contracts` action. |

## Example Output

```json theme={"dark"}
{
	"d": {
		"__metadata": {
			"id": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContract('7000000010')",
			"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContract('7000000010')",
			"type": "API_SERVICE_CONTRACT_SRV.A_ServiceContractType"
		},
		"ServiceContract": "7000000010",
		"ServiceContractType": "SC1",
		"ServiceContractDescription": "",
		"Language": "EN",
		"ServiceContractStartDateTime": "20190516000000",
		"ServiceContractEndDateTime": "20200516000000",
		"PurchaseOrderByCustomer": "",
		"CustomerPurchaseOrderDate": null,
		"ServiceDocGrossAmount": "1248.00",
		"ServiceDocNetAmount": "1200.00",
		"ServiceDocTaxAmount": "48.00",
		"TransactionCurrency": "USD",
		"ServiceContractIsReleased": "X",
		"ServiceContractIsCompleted": "",
		"SrvcContrCreditStatus": "",
		"SalesOrganization": "1710",
		"DistributionChannel": "10",
		"Division": "00",
		"SalesOffice": "",
		"SalesGroup": "",
		"SoldToParty": "17100003",
		"ShipToParty": "17100003",
		"BillToParty": "17100003",
		"PayerParty": "17100003",
		"ContactPerson": "17100003",
		"PersonResponsible": "9980001964",
		"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('7000000010')/to_Item"
			}
		},
		"to_Text": {
			"__deferred": {
				"uri": "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap/API_SERVICE_CONTRACT_SRV/A_ServiceContract('7000000010')/to_Text"
			}
		}
	}
}
```
