Survey Answer

Subcategories: Attachments, Notes, Smart Action

The Survey answer resource is used to view, create, update, and delete the name and description of a survey answer.

Resource Plural Label

Survey Answer

Resource Name

__ORACO__SurAnswer_c

Get all Survey Answers

Request: GET

URI: /crmRestApi/resources/<version>/__ORACO__SurAnswer_c

Request Path Parameters

There are no request path parameters for this task.

Request Query Parameters

There are no request query parameters for this task.

Request Body

There are no elements in the request body for this task.

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Create a Survey Answer

Request: POST

URI: /crmRestApi/resources/<version>/__ORACO__SurAnswer_c

Request Path Parameters

There are no request path parameters for this task.

Request Body

This table summarizes the supported request body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Sample Request

{

"__ORACO__Answer_c": "PEltYWdlX1NlbGVjdGVkPg==",

"__ORACO__Question_c": "cGhvdG8gcXVlc3Rpb24gMg==",

"__ORACO__SurveyQuestion_Id_c": 300100543086201,

"__ORACO__Survey_Id_c" : 300100543090189

}

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Get a Survey Answer

Request: GET

URI: /crmRestApi/resources/<version>/__ORACO__SurAnswer_c/{Id}

Request Path Parameters

There are no request path parameters for this task.

Request Body

This table summarizes the supported request body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Update a Survey Answer

Request: PATCH

URI: /crmRestApi/resources/<version>/__ORACO__SurAnswer_c/{Id}

Request Path Parameters

There are no request path parameters for this task.

Request Body

There are no elements in the request body for this task.

Sample Request

{

"__ORACO__Answer_c": "PEltYWdlX1NlbGVjdGVkPg==",

"__ORACO__Question_c": "cGhvdG8gcXVlc3Rpb24gMg==",

"__ORACO__Survey_Id_c" : 300100543090192

}

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Replace a Survey Answer

Request: PUT

URI: /crmRestApi/resources/<version>/__ORACO__SurAnswer_c/{Id}

Request Path Parameters

There are no request path parameters for this task.

Request Body

This table summarizes the request body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Sample Request

{

"__ORACO__Answer_c": "PEltYWdlX1NlbGVjdGVkPg==",

"__ORACO__Question_c": "cGhvdG8gcXVlc3Rpb24gMg==",

"__ORACO__SurveyQuestion_Id_c": 300100543086285,

}

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Delete a Survey Answer

Request: DELETE

URI: /crmRestApi/resources/<version>/__ORACO__SurAnswer_c/{Id}

Request Path Parameters

There are no request path parameters for this task.

Request Body

There are no elements in the request body for this task.

Response Body

There are no elements in the response body for this task.

List of Values

This table lists all the list of values of the resource.

LOV Name Source Attribute in LOV Target Attribute in Resource

ViewAccessor_CurrencyCode

CurrencyCode

CurrencyCode

FK_LOVVA_For___ORACO__OraZcxOwner_c

ResourceProfileId

__ORACO__OraZcxOwner_Id_c

LOVVA_For___ORACO__OraZcxOwner_c

PartyName

__ORACO__OraZcxOwner_c

FK_LOVVA_For___ORACO__SurveyQuestion_c

Id

__ORACO__SurveyQuestion_Id_c

LOVVA_For___ORACO__SurveyQuestion_c

RecordName

__ORACO__SurveyQuestion_c

FK_LOVVA_For___ORACO__Survey_c

Id

__ORACO__Survey_Id_c

LOVVA_For___ORACO__Survey_c

RecordName

__ORACO__Survey_c

Resource Attributes

This table lists all the attributes of the resource.

Attribute Name Attribute Type Description

Id

number

A system-generated read-only attribute used by the application framework.

UI Label:

Record ID

RecordName

string

A system-generated read-only attribute used by the application framework.

Properties:

The maximum length is 80.

UI Label:

Number

CreatedBy

string

The user who created the survey template record.

Properties:

The maximum length is 32.

UI Label:

Created By

CreationDate

datetime

The date when the record was created.

UI Label:

Creation Date

LastUpdatedBy

string

The user who last updated the record.

Properties:

The maximum length is 32.

UI Label:

Last Updated By

LastUpdateDate

datetime

The date when the record was last updated.

UI Label:

Last Update Date

RecordNumber

string

A system-generated read-only attribute used by the application framework.

Properties:

The maximum length is 64.

UI Label:

Record Number

LastUpdateLogin

string

The login of the user who last updated the record.

Properties:

The maximum length is 32.

ConflictId

integer

UserLastUpdateDate

datetime

A system-generated read-only attribute used by the application framework. Disconnected Mobile: The date and time when the record was last updated from mobile. This value is different from LAST_UPDATE_DATE if the record was originally updated in a different database (i.e. a different mobile database or the server).

CurrencyCode

string

The currency code associated with the survey template.

Properties:

The maximum length is 15.

UI Label:

Currency Code

CurcyConvRateType

string

The currency conversion rate type associated with the survey template.

Properties:

The maximum length is 15.

CorpCurrencyCode

string

The corporate currency code of the survey template.

Properties:

The maximum length is 15.

__ORACO__OraZcxOwner_Id_c

number

Id of the Owner of the record

UI Label:

Owner

__ORACO__OraZcxOwner_c

string

Owner of the record

Properties:

The maximum length is 1500.

UI Label:

Owner

__ORACO__Question_c

attachment

Question to which the answer is given. Value of question should be encoded in base64 format when used in Create SurveyAnswer resource.

Properties:

The maximum length is 32714.

UI Label:

Question

__ORACO__Answer_c

attachment

Answer recorded to a question. Value of answer should be encoded in base64 format when used in Create SurveyAnswer resource.

Properties:

The maximum length is 32714.

UI Label:

Answer

__ORACO__SurveyQuestion_Id_c

number

Id of the Survey Question record to which this Survey Answer is associated

UI Label:

Survey Question

__ORACO__SurveyQuestion_c

string

Survey Question record to which this Survey Answer is associated

Properties:

The maximum length is 1500.

UI Label:

Survey Question

__ORACO__Survey_Id_c

number

Id of the survey

UI Label:

Survey

__ORACO__Survey_c

string

Record which holds the details of conducted Survey to which this answer belongs

Properties:

The maximum length is 1500.

UI Label:

Survey