Update a file import map column

patch

/crmRestApi/resources/11.13.18.05/importMappings/{MappingNumber}/child/ImportMappingColumns/{MappingColumnNumber}

Request

Path Parameters
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.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
  • Title: Attribute Name
    The code indicating the type of the attribute mapped to the source file column header. A list of valid values is defined in the lookup FUSION.ZCA_OBJECT_ATTRIBUTES .
  • Title: Attribute Display Name
    The import object attribute display name mapped to the source file column header.
  • Title: Column Header
    Maximum Length: 500
    The column header name in the CSV source file.
  • Title: Example Value
    Maximum Length: 100
    An example value for the respective source file column.
  • Title: Ignore
    Maximum Length: 1
    Indicates whether the source file column header values should be ignored during import or not.
  • Title: Mapping Column Number
    Maximum Length: 160
    The alternate key identifier of the import mapping column.
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 : importMappings-ImportMappingColumns-item-response
Type: object
Show Source
  • Title: Attribute Name
    The code indicating the type of the attribute mapped to the source file column header. A list of valid values is defined in the lookup FUSION.ZCA_OBJECT_ATTRIBUTES .
  • Title: Attribute Display Name
    The import object attribute display name mapped to the source file column header.
  • Title: Column Header
    Maximum Length: 500
    The column header name in the CSV source file.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the record.
  • Title: Creation Date
    Read Only: true
    The date and time when the record was created.
  • Title: Example Value
    Maximum Length: 100
    An example value for the respective source file column.
  • Title: Ignore
    Maximum Length: 1
    Indicates whether the source file column header values should be ignored during import or not.
  • Title: Last Update Date
    Read Only: true
    The date and time when the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Title: Last Updated
    Read Only: true
    Maximum Length: 32
    The login of the user who last updated the record.
  • Links
  • Title: Mapping Column Number
    Maximum Length: 160
    The alternate key identifier of the import mapping column.
Back to Top

Examples

The following example shows how to update a file import map column by submitting a PATCH request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X POST -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/importMappings/300100123776040/child/ImportMappingColumns/300100123776036

Example of Request Body

The following shows an example of the request body in JSON format.

{
"ColumnHeader": "OrganizationDEO_CRMMDS_AccountText_update",
"ExampleValue": "MandText8001"
}

Example of Response Body

The following shows an example of the response body in JSON format.

{
  "ColumnHeader" : "OrganizationDEO_CRMMDS_AccountText_update",
  "ExampleValue" : "MandText8001",
  "AttributeCode" : "Comments",
  "AttributeDisplayName" : "Comments",
  "MappingColumnNumber" : "300100123776036",
  "Ignore" : "N",
  "CreationDate" : "2017-11-02T13:22:04.292+00:00",
  "CreatedBy" : "MHoope",
  "LastUpdateDate" : "2017-11-02T15:01:49+00:00",
  "LastUpdatedBy" : "SALES_ADMIN",
  "LastUpdateLogin" : "5D00CDF67DF8656CE053768DF50A4CED", 
	"links": [
  ...
  ]
  }
Back to Top