Create a customer classification

post

/crmRestApi/resources/11.13.18.05/hubPersons/{PartyNumber}/child/CustomerClassification

Request

Path Parameters
  • The unique alternate identifier for the person party. You can update the value if the profile option HZ_GENERATE_PARTY_NUMBER is set to True. The default value is a concatenation of the value specified in the profile option ZCA_PUID_PREFIX and a unique system generated sequence number. Inactive records can't be updated.
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: Classification Category
    Maximum Length: 30
    The name of the classification category.
  • Title: Classification Code
    Maximum Length: 30
    A valid classification code corresponding to the classification category.
  • Title: Created by Module
    Maximum Length: 30
    The application or module that created the record. The default value is HZ_WS for all web service based creation.
  • Title: End Date
    The date on which the classification code is no longer valid.
  • Title: Party ID
    The unique identifier of account, contact, or household to which the classification category and classification code is associated.
  • Title: Party Number
    Maximum Length: 30
    The unique alternate identifier of the account, contact, or household to which the classification category and classification code is associated. Inactive records can't be updated.
  • Title: Party Source System
    The name of the external source system of the account, contact, or household with which the classification category and classification code is associated.
  • Title: Party Source System Reference Value
    The identifier from external source system for the account, contact, or household with which the classification category and classification code is associated.
  • Title: Primary
    Maximum Length: 1
    Default Value: false
    Indicator to show if the current code is the primary classification code.
  • Title: Source System
    The name of external source system for the class category denoted by a code, which is defined by an administrator as part of system setup. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify a class category.
  • Title: Source System Reference Value
    The unique identifier for the class category from the external source. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify a class category.
  • Title: Start Date
    The date on which the classification becomes valid.
  • Title: Status
    Maximum Length: 1
    Default Value: A
    Indicates if the code assignment is active or inactive, such as A for active and I for inactive.
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 : hubPersons-CustomerClassification-item-response
Type: object
Show Source
  • Title: Classification Category
    Maximum Length: 30
    The name of the classification category.
  • Title: Classification Code
    Maximum Length: 30
    A valid classification code corresponding to the classification category.
  • Title: Classification Code Meaning
    Read Only: true
    Maximum Length: 80
    A valid classification code meaning corresponding to the classification code.
  • Title: Code Assignment ID
    Read Only: true
    The unique identifier for the customer classification assignment.
  • Read Only: true
    Default Value: 0
    The unique identifier of the conflict.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The name of the user who created the record.
  • Title: Created by Module
    Maximum Length: 30
    The application or module that created the record. The default value is HZ_WS for all web service based creation.
  • Title: Creation Date
    Read Only: true
    Indicates the date and time when the record is created.
  • Title: End Date
    The date on which the classification code is no longer valid.
  • Title: Auxiliary Classification Status
    Read Only: true
    Indicates whether the classification category is a custom group classification category.
  • Title: Industry Type Status
    Read Only: true
    Indicates whether the classification category is an industry group classification category.
  • Title: Organization Type Status
    Read Only: true
    Indicates whether the classification category is an organization type classification category.
  • Title: Last Updated Date
    Read Only: true
    Indicates 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 Update Login
    Read Only: true
    Maximum Length: 32
    The login of the user who last updated the record.
  • Links
  • Title: Party ID
    The unique identifier of account, contact, or household to which the classification category and classification code is associated.
  • Title: Party Number
    Maximum Length: 30
    The unique alternate identifier of the account, contact, or household to which the classification category and classification code is associated. Inactive records can't be updated.
  • Title: Party Source System
    The name of the external source system of the account, contact, or household with which the classification category and classification code is associated.
  • Title: Party Source System Reference Value
    The identifier from external source system for the account, contact, or household with which the classification category and classification code is associated.
  • Title: Party Type
    Read Only: true
    Maximum Length: 30
    Indicates the type of the party, such as account, contact, or household.
  • Title: Primary
    Maximum Length: 1
    Default Value: false
    Indicator to show if the current code is the primary classification code.
  • Title: Source System
    The name of external source system for the class category denoted by a code, which is defined by an administrator as part of system setup. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify a class category.
  • Title: Source System Reference Value
    The unique identifier for the class category from the external source. SourceSystem and SourceSystemReference combination is unique and is used as the foreign key to identify a class category.
  • Title: Start Date
    The date on which the classification becomes valid.
  • Title: Status
    Maximum Length: 1
    Default Value: A
    Indicates if the code assignment is active or inactive, such as A for active and I for inactive.
Back to Top