Create a geography for a partner

post

/crmRestApi/resources/11.13.18.05/partners/{CompanyNumber}/child/geographies

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
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 : partners-geographies-item-response
Type: object
Show Source
Back to Top

Examples

cURL Command

The following example shows how to create geography for a partner by submitting a post request on the REST resource using cURL.

curl -u <username:password> \ -X POST -d @example_request_payload.json
https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/partners/100001/child/geographies

Example of Request Body

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

{
  "GeographyName" : "North American Sales"
}

Example of Response Body

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

{
  "items" : [ {
    "PartnerDimMembersId" : 100000020252075,
    "OwnerId" : 100000016934002,
    "OwnerType" : "PARTNER_PROFILE",
    "PartitionTypeCode" : "PRODUCTION",
    "DimensionCode" : "Geo",
    "IntegrationId" : "999984000000017",
    "DimSubtypeCode" : null,
    "DimensionMemberName" : "North American Sales",
    "DimensionMemberNameBackup" : "North American Sales",
    "ObjectVersionNumber" : 1,
    "TerrDimMemberId" : 300100102420297,
    "TypeCode" : "PRODUCTION",
    "TerrDimPartitionId" : 300100102420155,
    "GeographyId" : "999984000000017",
    "GeographyName" : "North American Sales",
    ...
}
Back to Top