Survey

Subcategories: Attachments, Note, Smart Actions

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

Resource Plural Label

Survey

Resource Name

__ORACO__Survey_c

Get all Surveys

Request: GET

URI: crmCommonApi/resources/<version>/__ORACO__Survey_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

Request: POST

URI: crmCommonApi/resources/<version>/__ORACO__Survey_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

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Get a Survey

Request: POST

URI: crmCommonApi/resources/<version>/__ORACO__Survey_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

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Update a Survey

Request: PATCH

URI: crmCommonApi/resources/<version>/__ORACO__Survey_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

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Replace a Survey

Request: PUT

URI: crmCommonApi/resources/<version>/__ORACO__Survey_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

Response Body

This table summarizes the supported response body content types:

Media Type

application/vnd.oracle.adf.resourcecollection+json

Delete a Survey

Request: DELETE

URI: crmCommonApi/resources/<version>/__ORACO__Survey_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__Promotion_Id_c

LOVVA_For___ORACO__SurveyQuestion_c

RecordName

__ORACO__Promotion_c

FK_LOVVA_For___ORACO__Survey_c

Id

__ORACO__SurveyTemplate_Id_c

LOVVA_For___ORACO__Survey_c

RecordName

__ORACO__SurveyTemplate_c

FK_LOVVA_For___ORACO__Survey_c

Id

__ORACO__Asset_Id_c

LOVVA_For___ORACO__Survey_c

RecordName

__ORACO__Asset_c

FK_LOVVA_For___ORACO__Survey_c

Id

__ORACO__Account_Id_c

LOVVA_For___ORACO__Survey_c

RecordName

__ORACO__Account_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__Promotion_Id_c

number

Id of the Promotion record to which this Survey is associated

UI Label:

Promotion

__ORACO__Promotion_c

string

Promotion record to which this Survey is associated

Properties:

The maximum length is 1500.

UI Label:

Promotion

__ORACO__SurveyTemplate_Id_c

number

Id of the Survey Template record to which this Survey is associated

UI Label:

Survey Template

__ORACO__SurveyTemplate_c

string

Survey template record to which this Survey is associated

Properties:

The maximum length is 1500.

UI Label:

Survey Template

__ORACO__Account_Id_c

number

Id of the Account

UI Label:

Account

__ORACO__Account_c

string

Account against which this survey is conducted

Properties:

The maximum length is 1500.

UI Label:

Account

__ORACO__Asset_Id_c

number

Id of the Asset

UI Label:

Asset

__ORACO__Asset_c

string

Asset record to which this Survey is associated

Properties:

The maximum length is 1500.

UI Label:

Asset

__ORACO__SurveyDate_c

datetime

Date on which this survey is conducted

__ORACO__AssessedObjectId_c

Specifies Id of accessed Object

__ORACO__AssessedObjectType_c

Specifies type of accessed Object

__ORACO__SurveyTemplateNameCode_c

string

Specifies code of survey template

Properties:

The maximum length is 1500.

UI Label:

SurveyTemplateNameCode

__ORACO__Segment_c

string

Segment to which account of the survey belongs

Properties:

The maximum length is 1500.

UI Label:

Segment