Symptom
How to create a Warranty via REST-API
Environment
SAP Service Cloud Version 2
Resolution
Use the below Payload format when doing a POST from API tool. id can be generated using https://www.uuidgenerator.net/guid and externalId and communicationSystemId values must be unique.
{
"status": "ACTIVE",
"descriptions": [
{
"content": "Upload aus SAP",
"languageCode": "de"
},
{
"content": "Upload from SAP",
"languageCode": "en"
}
],
"description": "Upload aus SAP",
"externalIds": [
{
"id": "23a6ab0a-0a62-4ee1-ac06-9a9353bb68b2",
"externalId": "9***",
"communicationSystemId": "24f57bb5-c5bb-43bf-b4a3-151c1f34e***",
"communicationSystemDisplayId": "S4HANA",
"type": "sap.oitc.974"
}
]
}
Keywords
Warranty, REST, API, Payload , KBA , CEC-CRM-WAR , Warranty for SAP Sales/Service Cloud , How To
SAP Knowledge Base Article - Public