Zoho AccountContactMappingInfo API

The AccountContactMappingInfo API from Zoho — 1 operation(s) for accountcontactmappinginfo.

Documentation

Specifications

Code Examples

Other Resources

OpenAPI Specification

zoho-accountcontactmappinginfo-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Helpcenter AccountContactMappingInfo API
  version: 1.0.0
tags:
- name: AccountContactMappingInfo
paths:
  /api/v1/accountContactMapping/{mappingId}:
    patch:
      tags:
      - AccountContactMappingInfo
      summary: Update association info
      description: This API updates the details of an account-contact mapping.
      operationId: updateAccountContactMappingInfo
      parameters:
      - name: mappingId
        in: path
        required: true
        style: simple
        explode: false
        schema:
          type:
          - string
          - 'null'
          - integer
          format: int64
          pattern: ([0-9]+)
      - $ref: ./Common.json#/components/parameters/orgId
      requestBody:
        $ref: '#/components/requestBodies/updateMappingInfo'
      responses:
        '200':
          $ref: '#/components/responses/mappingResponse'
        '422':
          $ref: ./Common.json#/components/responses/invalidDataErrorResponse
      security:
      - iam-oauth2-schema:
        - Desk.contacts.UPDATE
      x-audience:
      - external-public
components:
  requestBodies:
    updateMappingInfo:
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              mappingType:
                type:
                - string
                - 'null'
                enum:
                - PRIMARY
                maxLength: 100
                minLength: 0
              isAccountTicketsViewable:
                type:
                - boolean
                - 'null'
          examples:
            Valid requestBody Definitions:
              value:
                mappingType: PRIMARY
                isAccountTicketsViewable: true
  responses:
    mappingResponse:
      description: mappingResponse template definitions
      content:
        application/json:
          schema:
            type:
            - 'null'
            - object
            additionalProperties: false
            properties:
              data:
                $ref: ./AccountContactMappingInfo.json#/components/schemas/mappingInfo
            required:
            - data
          examples:
            Valid responses Definitions:
              value:
                mappingId: '4000000023057'
                accountId: '4000000022101'
                contactId: '4000000020714'
                mappingType: PRIMARY
                isAccountTicketsViewable: false
  securitySchemes:
    iam-oauth2-schema:
      $ref: ./Common.json#/components/securitySchemes/iam-oauth2-schema
x-entity: Helpcenter