Create a smart text user variable

post

/crmRestApi/resources/11.13.18.05/smartTextUserVariables

Request

Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
  • Contains one of the following values: true or false. If true, the server performs an Upsert operation instead of a Create operation. During an Upsert operation, the server attempts to find an existing resource that matches the payload. If a match is found, the server updates the existing resource instead of creating a new one. If not found or false (default), the server performs a Create operation. Note that the Upsert operation isn't supported for date-effective REST resources.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Maximum Length: 50
    The field or attribute of the object that holds the value for substitution.
  • Title: Business Unit
    The unique identifier of the business unit organization for the user variable.
  • Title: Domain
    Maximum Length: 50
    Default Value: ORA_SVC_SR
    The application or context with which this variable is used.
  • Maximum Length: 50
    The short description of the variable.
  • Title: Object
    Maximum Length: 150
    This is the reference to the object that holds the value for substituting the variable.
  • Title: Stripe Code
    Maximum Length: 30
    The lookup code that indicates the stripe code, such as CRM, HCM, or PRM.
  • Maximum Length: 255
    Default Value: Prompt
    The descriptive value for the method used for derivation. Values include 'Prompt', 'Value' and 'Eval'.
  • Title: Value
    Maximum Length: 150
    The static character value for the variable substitution.
  • Title: Variable
    Maximum Length: 50
    The variable that is displayed in the UI for context substitution into actual value.
  • Maximum Length: 30
    The public surrogate key.
  • Maximum Length: 30
    The public unique surrogate key which is required.
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : smartTextUserVariables-item-response
Type: object
Show Source
  • Maximum Length: 50
    The field or attribute of the object that holds the value for substitution.
  • Title: Business Unit
    The unique identifier of the business unit organization for the user variable.
  • Title: Domain
    Maximum Length: 50
    Default Value: ORA_SVC_SR
    The application or context with which this variable is used.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the smart text user variable.
  • Title: Creation Date
    Read Only: true
    The date and time when the smart text user variable was created.
  • Maximum Length: 50
    The short description of the variable.
  • Title: Last Updated Date
    Read Only: true
    The date when the smart text user variable was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the smart text user variable.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The login of the user who last updated the smart text user variable.
  • Links
  • Title: Object
    Maximum Length: 150
    This is the reference to the object that holds the value for substituting the variable.
  • Title: Stripe Code
    Maximum Length: 30
    The lookup code that indicates the stripe code, such as CRM, HCM, or PRM.
  • Maximum Length: 255
    Default Value: Prompt
    The descriptive value for the method used for derivation. Values include 'Prompt', 'Value' and 'Eval'.
  • Title: Value
    Maximum Length: 150
    The static character value for the variable substitution.
  • Title: Variable
    Maximum Length: 50
    The variable that is displayed in the UI for context substitution into actual value.
  • Title: Variable ID
    Read Only: true
    The unique identifier of the smart text user variable.
  • Maximum Length: 30
    The public surrogate key.
  • Maximum Length: 30
    The public unique surrogate key which is required.
Back to Top