Update a customer classification
patch
/crmRestApi/resources/11.13.18.05/households/{PartyNumber}/child/CustomerClassification/{CodeAssignmentId}
Request
Path Parameters
-
CodeAssignmentId(required): integer(int64)
The unique identifier for the customer classification assignment.
-
PartyNumber(required): string
The unique primary identifier for the household party. The profile option HZ_GENERATE_PARTY_NUMBER controls whether the attribute value can be system generated or user-provided during create. Review and update the value for this attribute using the Setup and Maintenance work area, Manage Trading Community Common Profile Options task. Inactive records can't be updated.
Header Parameters
-
Metadata-Context:
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".
-
REST-Framework-Version:
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
- application/json
Root Schema : schema
Type:
Show Source
object-
EndDateActive: string
(date)
Title:
End DateThe date from which the classification code is no longer valid. -
PrimaryFlag: boolean
Title:
PrimaryMaximum Length:1Default Value:falseIndicates if the customer classification is the primary classification. The default value is false. -
SourceSystem: string
Title:
Source SystemThe name of external source system where the customer classification is imported from. The values are configured in Setup and Maintenance work area, Manage Trading Community Source Systems task. -
SourceSystemReferenceValue: string
Title:
Source System Reference ValueThe unique identifier for the customer classification in the external source. -
Status: string
Title:
StatusMaximum Length:1Default Value:AIndicates if the code assignment is active or inactive. The code assignment is active if the value is A, and inactive if the value is I.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : households-CustomerClassification-item-response
Type:
Show Source
object-
ClassCategory: string
Title:
Classification CategoryMaximum Length:30The name of the classification category. -
ClassCode: string
Title:
Classification CodeMaximum Length:30The code indicating the classification category. For example, High Technology, Customer, or Telecom. -
ClassCodeMeaning: string
Title:
Classification Code MeaningRead Only:trueMaximum Length:80A valid classification code meaning corresponding to the classification code. -
CodeAssignmentId: integer
(int64)
Title:
Code Assignment IDRead Only:trueThe unique identifier for the customer classification assignment. -
ConflictId: integer
(int64)
Read Only:
trueDefault Value:0The unique identifier of the conflict for the classification record. This number is used by mobile or portable applications that consume the web service. -
CreatedBy: string
Title:
Created ByRead Only:trueMaximum Length:64The user who created the record. -
CreatedByModule: string
Title:
Created by ModuleMaximum Length:30The application module that created the customer classification record. Defaulted to value HZ_WS for all web service based creation. A list of valid certification level codes is defined in the lookup HZ_CREATED_BY_MODULES. You can review and update the codes using the Setup and Maintenance task, Manage Trading Community Common Lookups. -
CreationDate: string
(date-time)
Title:
Creation DateRead Only:trueThe date when the record was created. -
EndDateActive: string
(date)
Title:
End DateThe date from which the classification code is no longer valid. -
IsAuxClassificationFlag: boolean
Title:
Auxiliary Classification StatusRead Only:trueIndicates whether the classification category is an user-defined group classification category. The default value is false. -
IsIndustryFlag: boolean
Title:
Industry Type StatusRead Only:trueIndicates whether the classification category is an industry group classification category. The default value is false. -
IsOrgTypeFlag: boolean
Title:
Organization Type StatusRead Only:trueIndicates whether the classification category is an organization type classification category. The default value is false. -
LastUpdateDate: string
(date-time)
Title:
Last Updated DateRead Only:trueThe date when the record was last updated. -
LastUpdatedBy: string
Title:
Last Updated ByRead Only:trueMaximum Length:64The user who last updated the record. -
LastUpdateLogin: string
Title:
Last Update LoginRead Only:trueMaximum Length:32The login of the user who last updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PartyId: integer
(int64)
Title:
Party IDThe unique Identifier of the account, contact or household with which the classification is associated. -
PartyNumber: string
Title:
Party NumberMaximum Length:30The unique alternate identifier of the account, contact, or household with which the classification is associated. Inactive records can't be updated. -
PartySourceSystem: string
Title:
Party Source SystemThe name of the external source system of the account, contact, or household with which the classification is associated. -
PartySourceSystemReferenceValue: string
Title:
Party Source System Reference ValueIdentifier from external source system for the account, contact or household with which the classification is associated. -
PartyType: string
Title:
Party TypeRead Only:trueMaximum Length:30Indicates the type of the party, such as account, contact, or household. -
PrimaryFlag: boolean
Title:
PrimaryMaximum Length:1Default Value:falseIndicates if the customer classification is the primary classification. The default value is false. -
SourceSystem: string
Title:
Source SystemThe name of external source system where the customer classification is imported from. The values are configured in Setup and Maintenance work area, Manage Trading Community Source Systems task. -
SourceSystemReferenceValue: string
Title:
Source System Reference ValueThe unique identifier for the customer classification in the external source. -
StartDateActive: string
(date)
Title:
Start DateThe date on which the customer classification was created. -
Status: string
Title:
StatusMaximum Length:1Default Value:AIndicates if the code assignment is active or inactive. The code assignment is active if the value is A, and inactive if the value is I.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Links
- ClassCodesVA
-
Operation: /crmRestApi/resources/11.13.18.05/classCodesParameters:
- finder:
ClassCategoryFinder%3BBindClassCategory%3D{ClassCategory}
The following properties are defined on the LOV link relation:- Source Attribute: ClassCode; Target Attribute: ClassCode
- Display Attribute: ClassCodeMeaning
- finder: