Create a partner account team member for a partner

post

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

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.
  • 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
  • Title: Access
    Maximum Length: 30
    Default Value: 300
    The code indicating the type of access granted to the resource as well as managers of the organizations. A list of accepted values is defined in the lookup ZCA_ACCESS_LEVEL. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Standard Lookups task.
  • Title: Assignment Type
    Maximum Length: 30
    Default Value: MANUAL
    The code indicating how the resource is assigned to the partner resource team. A list of accepted values is defined in the lookup ZCA_ASSIGNMENT_TYPE. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Standard Lookups task.
  • Title: Function
    Maximum Length: 30
    The code indicating the role of a sales team member in the resource team such as Integrator, Executive Sponsor, and Technical Account Manager. A list of accepted values is defined in the lookup FND_LOOKUPS. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Trading Community Common Lookups task.
  • Title: Title
    The role of the resource in the organization.
  • Indicates whether the Partner Account Team Member is also the owner of this Partner record or not.
  • Title: Partner Account Resource ID
    The unique identifier of the party that owns the partner.
  • Title: Partner Number
    Maximum Length: 30
    The unique identifier of the partner company.
  • Title: Account Team Member
    The unique identifier of the sale profile of the resource.
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-accountTeamMembers-item-response
Type: object
Show Source
  • Title: Access
    Maximum Length: 30
    Default Value: 300
    The code indicating the type of access granted to the resource as well as managers of the organizations. A list of accepted values is defined in the lookup ZCA_ACCESS_LEVEL. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Standard Lookups task.
  • Title: Assignment Type
    Maximum Length: 30
    Default Value: MANUAL
    The code indicating how the resource is assigned to the partner resource team. A list of accepted values is defined in the lookup ZCA_ASSIGNMENT_TYPE. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Standard Lookups task.
  • 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 the record was created.
  • Title: Email
    Read Only: true
    Maximum Length: 320
    The email address of the resource.
  • Title: Primary Address
    Read Only: true
    The formatted version of the address.
  • Title: Phone
    Read Only: true
    The phone number of the resource.
  • Title: Last Updated Date
    Read Only: true
    The date on which the record was last updated.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The user who last updated the record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The login details of the user who last updated the record.
  • Links
  • Title: Function
    Maximum Length: 30
    The code indicating the role of a sales team member in the resource team such as Integrator, Executive Sponsor, and Technical Account Manager. A list of accepted values is defined in the lookup FND_LOOKUPS. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Trading Community Common Lookups task.
  • Title: Title
    The role of the resource in the organization.
  • Indicates whether the Partner Account Team Member is also the owner of this Partner record or not.
  • Title: Partner Account Resource ID
    The unique identifier of the party that owns the partner.
  • Title: Partner Number
    Maximum Length: 30
    The unique identifier of the partner company.
  • Title: Account Team Member
    The unique identifier of the sale profile of the resource.
  • Title: Name
    Read Only: true
    Maximum Length: 360
    The name of the resource.
  • Title: Registry ID
    Read Only: true
    Maximum Length: 30
    The party number for the resource of the partner account team.
Back to Top

Examples

cURL Command

The following example shows how to create a partner account team member 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/accountTeamMembers

Example of Request Body

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

{     
   "ResourceId":"100010025532534"
  }

Example of Response Body

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

{
  "items" : [ {
    "PartnerAccountResourceId" : 300100003284977,
    "PartnerAccountId" : 100000020252061,
    "ResourceId" : 100010025532534,
    "PartnerPartyId" : 100000016934002,
    "OrganizationName" : "Channel Account Org A",
    "OrganizationRole" : "Channel Account Manager",
    "TerritoryName" : null,
    "ResourceName" : "Account_MgrENT1 CAM",
    "AccessLevelCode" : "300",
    "AssignmentTypeCode" : "MANUAL",
    "MemberFunctionCode" : "CHANNEL_MGR",
    "EmailAddress" : "sendmail-test-discard@oracle.com",
    "FormattedPhoneNumber" : null,
   ...,  
}
Back to Top