SAP Knowledge Base Article - Public

3203759 - How to Create Survey Signature Attachment using Odata


You want to create Survey Signature Attachment using Odata Services


SAP Cloud for Customer


1. From the ticket ID, Get the Object ID of the Ticket using Data Workbench

2. Use the below URL, to get the Survey Response related to that ObjectID eq 'ObjectID'

Object ID - Object ID of Ticket.

XXXXXX - Tenant ID of the system

3. Once you get the Survey Reponse, Navigate to Survey Signature using below URL :'ObjectID')/SurveySignature

Object ID - Object ID of Survey Response

From the above GET call, you will get the Object ID of the Survey Signature.

Posting data in Survey Signature Attachment Collection:

1. Go to Administrator -> Odata Service Explorer.

2. Select the service c4codataapi -> Test

3. Choose the entity SignatureAttachment

4. Choose the method as post and then use the below payload


"ParentObjectID" : "Object ID of Survey Signature",

"MimeType" : "IMAGE/PNG",
"Binary" : "Binary data",

"TypeCode" : "10096",

"CategoryCode" :2


This will create a Signature Attachment in the system.


Odata, Survey, Survey Response, Survey Signature Attachment, Survey Signature , KBA , AP-RC-ODF , OData framework (C4C Only) , Problem


SAP Cloud for Customer add-ins all versions