Create a household contact

post

/crmRestApi/resources/11.13.18.05/households/{PartyNumber}/child/HouseholdContact

Request

Path Parameters
  • 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
  • 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: First Name
    Maximum Length: 150
    The first name of the contact record.
  • Title: Last Name
    Maximum Length: 150
    The last name of the contact record.
  • Title: Middle Name
    Maximum Length: 60
    The middle name of the contact record.
  • Title: Contact Party ID
    The primary key identifier of the subject in this relationship. Either one of SubjectPartyId, SubjectPartyNumber, and a combination of SubjectSourceSystem and SubjectSourceSystemReferenceValue, is used to identify the subject party of the relationship.
  • Title: Contact Party Number
    Maximum Length: 30
    The public key identifier for the subject party of the relationship.
  • Title: Contact Source System
    The name of external source system for the subject party in the relationship, which are defined by an administrator as part of system setup. One of SubjectPartyId, SubjectPartyNumber, and a combination of SubjectSourceSystem and SubjectSourceSystemReferenceValue, is used to identify the subject party of the relationship. The value for this attribute should be predefined using the setup task Manage Trading Community Source Systems.
  • Title: Contact Source System Reference
    The identifier for the subject party in the relationship from external source system. One of SubjectPartyId, SubjectPartyNumber, and a combination of SubjectSourceSystem and SubjectSourceSystemReferenceValue, is used to identify the subject party of the relationship.
  • Title: Created by Application
    Maximum Length: 30
    Default Value: HZ_WS
    The application module that created the household contact 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.
  • Title: Date of Birth
    The date of birth of the associated contact.
  • Title: To Date
    The end date of the household contact record.
  • Title: Gender
    Maximum Length: 30
    The gender of the associated contact.
  • Title: Head of Household Indicator
    Maximum Length: 1
    The head of household flag the associated contact.
  • Title: Household Income
    The household income of the associated contact.
  • Title: Household Party ID
    The primary key identifier of the object in this relationship. Either one of ObjectPartyId, ObjectPartyNumber, and combination of ObjectSourceSystem and ObjectSourceSystemReferenceValue, is used to identify the object party of the relationship.
  • Title: Household Party Number
    Maximum Length: 30
    The public unique identification number for the object party of the relationship.
  • Title: Household Size
    The household size of the associated contact.
  • Title: Related Household Source System
    The name of external source system for the object party in the relationship, which are defined by an administrator as part of system setup.
  • Title: Related Household Source System Reference
    The identifier for the object party in the relationship from external source system.
  • Title: Job Title
    Maximum Length: 100
    The job title of the associated contact.
  • Title: Marital Status
    Maximum Length: 30
    The marital status of the household contact record.
  • Title: Preferred Contact
    Maximum Length: 10
    Default Value: false
    Indicates whether this contact person is primary contact for the customer. Accepted values are Y and N. Default value is N.
  • Title: Preferred Contact Method
    Maximum Length: 30
    The preferred contact method contact the associated contact.
  • Title: Relationship Code
    Maximum Length: 30
    Default Value: ORA_PARENT_IN
    The code indicating whether this is a forward or a backward relationship code.
  • Title: Relationship Record ID
    The unique identifier of the household contact record.
  • Title: Relationship Source System
    The name of external source system for the relationship, which is defined by an administrator as part of system setup. One of ObjectPartyId, ObjectPartyNumber, and a combination of ObjectSourceSystem and ObjectSourceSystemReferenceValue, is used to identify the object party of the relationship. The value for this attribute should be predefined using the setup task Manage Trading Community Source Systems.
  • Title: Relationship Source System Reference
    The identifier for the relationship with the external source system.
  • Title: Relationship Type
    Maximum Length: 30
    Default Value: HOUSEHOLD
    The name of the type of the relationship. For example, HOUSEHOLD.
  • Title: Role
    The role of the relationship.
  • Title: Salutation
    Maximum Length: 60
    The salutation of the associated contact.
  • Smart Actions
    Title: Smart Actions
    This VO stores the endpoint and security details for every user action.
  • Title: From Date
    The start date of the household contact record.
Nested Schema : Smart Actions
Type: array
Title: Smart Actions
This VO stores the endpoint and security details for every user action.
Show Source
Nested Schema : households-HouseholdContact-smartActions-item-post-request
Type: object
Show Source
Nested Schema : Smart Action User Interface Definitions
Type: array
Title: Smart Action User Interface Definitions
UI navigation metadata striped by app usage.
Show Source
Nested Schema : Smart Action REST Payload Definitions
Type: array
Title: Smart Action REST Payload Definitions
If an LOV required for constructing a request payload needs to post data, the payload metadata is stored here.
Show Source
Nested Schema : Smart Action User Interface Definitions
Type: array
Title: Smart Action User Interface Definitions
Binding metadata for a variable in the URL.
Show Source
Nested Schema : households-HouseholdContact-smartActions-UserActionNavigation-item-post-request
Type: object
Show Source
Nested Schema : households-HouseholdContact-smartActions-UserActionRequestPayload-item-post-request
Type: object
Show Source
Nested Schema : households-HouseholdContact-smartActions-UserActionURLBinding-item-post-request
Type: object
Show Source
  • Title: URL Binding Type
    Maximum Length: 64
    This is a hint for processing the Url Binding runtime.
  • Title: System Action
    Maximum Length: 1
    Default Value: false
    Boolean indicator.
  • Uniquely identifies the URL Bind for smart actions. For internal use.
  • Title: URL Binding Parameter Name
    Maximum Length: 256
    For action REST endpoints that require runtime binding, this is the key in the key value pair.
  • Title: URL Binding Parameter Value
    Maximum Length: 1000
    For action REST endpoints that require runtime binding, this is the value in the key value pair.
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 : households-HouseholdContact-item-response
Type: object
Show Source
  • Title: First Name
    Maximum Length: 150
    The first name of the contact record.
  • Title: Last Name
    Maximum Length: 150
    The last name of the contact record.
  • Title: Last Updated Date
    Read Only: true
    The date when the contact record was last updated.
  • Title: Middle Name
    Maximum Length: 60
    The middle name of the contact record.
  • Title: Name
    Read Only: true
    Maximum Length: 360
    The name of the contact.
  • Title: Contact Party ID
    The primary key identifier of the subject in this relationship. Either one of SubjectPartyId, SubjectPartyNumber, and a combination of SubjectSourceSystem and SubjectSourceSystemReferenceValue, is used to identify the subject party of the relationship.
  • Title: Contact Party Number
    Maximum Length: 30
    The public key identifier for the subject party of the relationship.
  • Title: Contact Source System
    The name of external source system for the subject party in the relationship, which are defined by an administrator as part of system setup. One of SubjectPartyId, SubjectPartyNumber, and a combination of SubjectSourceSystem and SubjectSourceSystemReferenceValue, is used to identify the subject party of the relationship. The value for this attribute should be predefined using the setup task Manage Trading Community Source Systems.
  • Title: Contact Source System Reference
    The identifier for the subject party in the relationship from external source system. One of SubjectPartyId, SubjectPartyNumber, and a combination of SubjectSourceSystem and SubjectSourceSystemReferenceValue, is used to identify the subject party of the relationship.
  • Title: Created By
    Read Only: true
    Maximum Length: 64
    The user who created the household contact member.
  • Title: Created by Application
    Maximum Length: 30
    Default Value: HZ_WS
    The application module that created the household contact 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.
  • Title: Creation Date
    Read Only: true
    The date on which household contact record was created.
  • Title: Date of Birth
    The date of birth of the associated contact.
  • Title: OK to Call
    Read Only: true
    Maximum Length: 10
    Default Value: false
    Indicates whether you can email the household contact. The accepted values are True and False or Y and N. Default is False or N.
  • Title: OK to Email
    Read Only: true
    Maximum Length: 10
    Default Value: false
    Indicates whether you can email the household contact. The accepted values are True and False or Y and N. Default is False or N.
  • Title: Do Not Call
    Read Only: true
    Maximum Length: 255
    Default Value: false
    Indicates whether you can call the household contact. The accepted values are True and False or Y and N. Default is False or N.
  • Title: Do Not Email
    Read Only: true
    Maximum Length: 255
    Default Value: false
    Indicates whether you can email the household contact. The accepted values are True and False or Y and N. Default is False or N.
  • Title: Email
    Read Only: true
    Maximum Length: 320
    The email address email the associated contact.
  • Title: Verification Date
    Read Only: true
    The date of the verification for the email.
  • Title: Verification Status
    Read Only: true
    Maximum Length: 30
    The status of the verification for email. Accepted values are defined in the standard lookup type ORA_HZ_VALIDATION_STATUS as ORA_VALID, ORA_INVALID and ORA_PARTIALLY_VALID. Default value is blank which indicates that values aren't verified.
  • Title: To Date
    The end date of the household contact record.
  • Title: Address
    Read Only: true
    The formatted address of the contact.
  • Title: Phone Number
    Read Only: true
    The primary formatted phone number for the contact person.
  • Title: Gender
    Maximum Length: 30
    The gender of the associated contact.
  • Title: Head of Household Indicator
    Maximum Length: 1
    The head of household flag the associated contact.
  • Title: Household Income
    The household income of the associated contact.
  • Title: Household Party ID
    The primary key identifier of the object in this relationship. Either one of ObjectPartyId, ObjectPartyNumber, and combination of ObjectSourceSystem and ObjectSourceSystemReferenceValue, is used to identify the object party of the relationship.
  • Title: Household
    Read Only: true
    Maximum Length: 360
    The name of the household.
  • Title: Household Party Number
    Maximum Length: 30
    The public unique identification number for the object party of the relationship.
  • Title: Household Size
    The household size of the associated contact.
  • Title: Related Household Source System
    The name of external source system for the object party in the relationship, which are defined by an administrator as part of system setup.
  • Title: Related Household Source System Reference
    The identifier for the object party in the relationship from external source system.
  • Title: Household
    Read Only: true
    Maximum Length: 900
    The unique name of the household.
  • Title: Job Title
    Maximum Length: 100
    The job title of the associated contact.
  • Title: Last Updated Date
    Read Only: true
    The last update date the household contact record.
  • Title: Last Updated By
    Read Only: true
    Maximum Length: 64
    The last update by the household contact record.
  • Title: Last Update Login
    Read Only: true
    Maximum Length: 32
    The last update login the household contact record.
  • Links
  • Title: Marital Status
    Maximum Length: 30
    The marital status of the household contact record.
  • Title: Verification Date
    Read Only: true
    The date of the verification for phone.
  • Title: Verification Status
    Read Only: true
    Maximum Length: 30
    The status of the verification for phone. Accepted values are defined in the standard lookup type ORA_HZ_VALIDATION_STATUS as ORA_VALID and ORA_INVALID. Default value is blank which indicates that values aren't verified.
  • Title: Preferred Contact
    Maximum Length: 10
    Default Value: false
    Indicates whether this contact person is primary contact for the customer. Accepted values are Y and N. Default value is N.
  • Title: Preferred Contact Method
    Maximum Length: 30
    The preferred contact method contact the associated contact.
  • Title: Relationship Code
    Maximum Length: 30
    Default Value: ORA_PARENT_IN
    The code indicating whether this is a forward or a backward relationship code.
  • Title: Relationship ID
    Read Only: true
    The name of external source system for the relationship, which is defined by an administrator as part of system setup. One of ObjectPartyId, ObjectPartyNumber, and a combination of ObjectSourceSystem and ObjectSourceSystemReferenceValue, is used to identify the object party of the relationship. The value for this attribute should be predefined using the setup task Manage Trading Community Source Systems.
  • Title: Relationship Record ID
    The unique identifier of the household contact record.
  • Title: Relationship Source System
    The name of external source system for the relationship, which is defined by an administrator as part of system setup. One of ObjectPartyId, ObjectPartyNumber, and a combination of ObjectSourceSystem and ObjectSourceSystemReferenceValue, is used to identify the object party of the relationship. The value for this attribute should be predefined using the setup task Manage Trading Community Source Systems.
  • Title: Relationship Source System Reference
    The identifier for the relationship with the external source system.
  • Title: Relationship Type
    Maximum Length: 30
    Default Value: HOUSEHOLD
    The name of the type of the relationship. For example, HOUSEHOLD.
  • Title: Role
    The role of the relationship.
  • Title: Salutation
    Maximum Length: 60
    The salutation of the associated contact.
  • Smart Actions
    Title: Smart Actions
    This VO stores the endpoint and security details for every user action.
  • Title: From Date
    The start date of the household contact record.
Nested Schema : Smart Actions
Type: array
Title: Smart Actions
This VO stores the endpoint and security details for every user action.
Show Source
Nested Schema : households-HouseholdContact-smartActions-item-response
Type: object
Show Source
Nested Schema : Smart Action User Interface Definitions
Type: array
Title: Smart Action User Interface Definitions
UI navigation metadata striped by app usage.
Show Source
Nested Schema : Smart Action REST Payload Definitions
Type: array
Title: Smart Action REST Payload Definitions
If an LOV required for constructing a request payload needs to post data, the payload metadata is stored here.
Show Source
Nested Schema : Smart Action User Interface Definitions
Type: array
Title: Smart Action User Interface Definitions
Binding metadata for a variable in the URL.
Show Source
Nested Schema : households-HouseholdContact-smartActions-UserActionNavigation-item-response
Type: object
Show Source
Nested Schema : households-HouseholdContact-smartActions-UserActionRequestPayload-item-response
Type: object
Show Source
Nested Schema : households-HouseholdContact-smartActions-UserActionURLBinding-item-response
Type: object
Show Source
  • Title: URL Binding Type
    Maximum Length: 64
    This is a hint for processing the Url Binding runtime.
  • Links
  • Title: System Action
    Maximum Length: 1
    Default Value: false
    Boolean indicator.
  • Uniquely identifies the URL Bind for smart actions. For internal use.
  • Title: URL Binding Parameter Name
    Maximum Length: 256
    For action REST endpoints that require runtime binding, this is the key in the key value pair.
  • Title: URL Binding Parameter Value
    Maximum Length: 1000
    For action REST endpoints that require runtime binding, this is the value in the key value pair.
Back to Top