---
sourceDocument: Brazil API Reference
sourceDocumentLink: https://www.servicenow.com/docs/r/api-reference

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Party Management Open API v1

# Party Management Open API v1 {#ariaid-title1}

Release version: Brazil  
Updated November 4, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 76 minutes to read  
The Party Management Open API v1 provides endpoints for managing parties with a relationship to the enterprise, such as accounts, consumers, and contacts. Use this API to create, update, retrieve, and inactivate records in the
Consumer \[csm_consumer\], Account \[customer_account\], and Contact \[customer_contact\] tables.
Note:  
v2 is available for all Party Management Open API endpoints. Requests use v2 by default; to use a v1 endpoint, specify v1 in the endpoint path. For differences between versions, see [Party Management Open API v2](https://www.servicenow.com/docs/WnhDphSe83ZlJtuo5~hrPA#tmf-party-mgmt-API-v2 "The Party Management Open API v2 provides endpoints for managing parties with a relationship to the enterprise, such as accounts, consumers, and contacts. Use this API to create, update, retrieve, and inactivate records in the Consumer [csm_consumer], Account [customer_account], and Contact [customer_contact] tables.").

This API is provided within the sn_tmf_api namespace. The calling user must have the sn_tmf_api.party_integrator role. The Customer Service Base Entities (com.snc.cs_base) plugin is required, particularly for all GET
operations.

You can extend this API to customize required parameters, request body validation, additional REST operations, and field mappings. Sensitive fields, such as phone numbers, may require special ACL permissions for update or
retrieval.

## Party Management v1 -- DELETE /api/sn_tmf_api/v1/party/individual/{id} {#ariaid-title2}

Inactivates a specified record from the Consumer \[csm_consumer\] and Contact \[customer_contact\] tables.

### URL format

Versioned URL: /api/sn_tmf_api/{api_version}/party/individual/{id}

Default URL: /api/sn_tmf_api/v1/party/individual/{id}

### Supported request parameters

{#partymgmt-DELETE-id-v1__entry__2}{#partymgmt-DELETE-id-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys_id or external_id of the Consumer or Contact record to set to an inactive state. Table: Consumer \[csm_consumer\] and Contact \[customer_contact\]. Data type: String |
[Table 1. Path parameters]

{#partymgmt-DELETE-id-v1__entry__8}

| Name | Description |
|-|-|
| None |   |
[Table 2. Query parameters]

{#partymgmt-DELETE-id-v1__entry__12}

| Name | Description |
|-|-|
| None |   |
[Table 3. Request body parameters (XML or JSON)]

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-DELETE-id-v1__entry__16}{#partymgmt-DELETE-id-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 4. Request headers]

{#partymgmt-DELETE-id-v1__entry__20}

| Header | Description |
|-|-|
| None |   |
[Table 5. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-DELETE-id-v1__entry__24}{#partymgmt-DELETE-id-v1__entry-200-status-code}{#partymgmt-DELETE-id-v1__entry-400-status-code}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected. |
[Table 6. Status codes]

{#partymgmt-DELETE-id-v1__table_s4v_cdg_dlc__entry__2}{#partymgmt-DELETE-id-v1__d2723e865}{#partymgmt-DELETE-id-v1__d2723e874}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
| 400 | Bad Request. A bad request type or malformed request was detected. |
| 404 | Resource not found. Sys_id or external_id doesn't exist in the system. Try a different ID. |
[Table 7. Status codes]

{#partymgmt-DELETE-id-v1__table_s4v_cdg_dlc}

### Response body parameters (JSON or XML) {#partymgmt-DELETE-id-v1__section_bnv_cdg_dlc}

{#partymgmt-DELETE-id-v1__table_cnv_cdg_dlc__entry__2}

| Name | Description |
|-|-|
| None | Note: Doesn't return a response body. Reference status codes for a success or failure indicator. |
[ ]

{#partymgmt-DELETE-id-v1__table_cnv_cdg_dlc}  

### cURL request

The following example deletes the given record.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/individual/a1b2c3d4e5f6478990abcdef12345678" \
      --request DELETE \
      --header "Accept: application/json" \
      --user 'user:password'

Doesn't return a response body. Reference status codes for a success or failure indicator.

## Party Management v1 - GET /api/sn_tmf_api/v1/party/individual/{id} {#ariaid-title3}

Retrieves a specified record from the Consumer \[csm_consumer\] or Contact \[customer_contact\] tables. You can filter results by specific fields.

### URL format

Versioned URL: /api/sn_tmf_api/{api_version}/party/individual

Default URL: /api/sn_tmf_api/v1/party/individual

### Supported request parameters

{#partymgmt-GET-id-v1__entry__2}{#partymgmt-GET-id-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys_id or external_id of the consumer or contact record to retrieve. Table: Consumer \[csm_consumer\] or Contact \[customer_contact\] Data type: String |
[Table 8. Path parameters]

{#partymgmt-GET-id-v1__entry__8}

| Name | Description |
|-|-|
| fields | List of fields to return in the response. Invalid fields are ignored. Valid fields: * @type * familyName * gender * givenName * href * id * middleName * name * nationality * status * title {#partymgmt-GET-id-v1__ul_o1v_ccn_3hc} Data type: String Default: Returns all fields |
[Table 9. Query parameters]

{#partymgmt-GET-id-v1__entry__12}

| Name | Description |
|-|-|
| None |   |
[Table 10. Request body parameters (XML or JSON)]

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-id-v1__entry__16}{#partymgmt-GET-id-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 11. Request headers]

{#partymgmt-GET-id-v1__entry__20}

| Header | Description |
|-|-|
| None |   |
[Table 12. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-id-v1__entry__24}{#partymgmt-GET-id-v1__entry-200-status-code}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
[Table 13. Status codes]

### Response body parameters (JSON or XML)

{#partymgmt-GET-id-v1__partymgmt-GET-id-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | Response object structure for the v1 request. { "id": "String", "href": "String", "@type": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } |
| @type | Type of the individual record. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| contactMedium | List of means for contacting the individual. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "locationId": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.locationId | Sys_id of the location record linked to the address. Table: Location \[cmn_location\] Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| externalReference | List of identifiers of the individual in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the individual in the external system, such as a profile URL. Data type: String |
| familyName | Last name of the individual. Data type: String |
| gender | Gender of the individual. Data type: String |
| givenName | First name of the individual. Data type: String |
| href | Relative link to the Consumer or Contact record. Data type: String |
| id | Sys_id of the Consumer or Contact record. Table: Consumer \[csm_consumer\] or Contact \[customer_contact\] Data type: String |
| middleName | Middle name of the individual. Data type: String |
| nationality | Nationality of the individual. Data type: String |
| partyCharacteristic | List of characteristics associated with the individual. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. For example, `notes`, `dateFormat`, `timeZone`, `vip`, or `notification`. Data type: String |
| partyCharacteristic.value | Value of the characteristic. Data type: Depends on valueType. For example, String or Boolean. |
| partyCharacteristic.valueType | Data type of the characteristic's value. For example, `string` or `boolean`. Data type: String |
| partyOrPartyRole | Party type and role of the individual record. In POST requests, determines whether the request creates a Consumer or Contact record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String" } |
| partyOrPartyRole.@type | Type of party. Possible values: * `Consumer` * `Contact` Data type: String |
| partyOrPartyRole.role | Role of the individual. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| relatedParty | List of parties related to the individual. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related party. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Possible values: * `Individual`: Related party is a user. * `Organization`: Related party is a company or department. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related party record. Table: Depends on the related party role: * Company: Company \[core_company\] * Department: Department \[cmn_department\] * User: User \[sys_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party. Data type: String |
| relatedParty.role | Role that the related party plays for the individual. Possible values: * `Company`: Company associated with the individual. * `Department`: Department associated with the individual. * `User`: User associated with the consumer. Data type: String |
| status | Status of the individual record. Possible values: * `active`: Record is active. * `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`. Data type: String |
[ ]

{#partymgmt-GET-id-v1__partymgmt-GET-id-response-table}  

### cURL request

The following example retrieves the Consumer record with sys_id a1b2c3d4e5f6478990abcdef12345678.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/individual/a1b2c3d4e5f6478990abcdef12345678" \
      --request GET \
      --header "Accept: application/json" \
      --user 'user:password'

Response body.

    {
      "id": "a1b2c3d4e5f6478990abcdef12345678",
      "href": "api/sn_tmf_api/party/individual/a1b2c3d4e5f6478990abcdef12345678",
      "@type": "Consumer",
      "givenName": "John",
      "middleName": "A.",
      "familyName": "Doe",
      "gender": "male",
      "nationality": "American",
      "title": "Mr",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Consumer",
        "role": "Consumer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "john.doe@example.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "mobilePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "PhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "faxPhone",
          "phoneNumber": "123456789",
          "@type": "FaxPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "@type": "GeographicAddressContactMedium",
          "locationId": "25ab9e240a0a0bb3009eb9ef8dd0a2c0",
          "city": "Morristown",
          "country": "USA",
          "postCode": "07960",
          "stateOrProvince": "New Jersey",
          "street1": "240 Headquarters Plaza",
          "street2": "East Tower - 10th Floor"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "@type": "GeographicAddressContactMedium",
          "locationId": "25aba17a0a0a0bb3007efd809d6e695c",
          "city": "Nashville",
          "country": "USA",
          "postCode": "37203",
          "stateOrProvince": "Tennessee",
          "street1": "100 Broadway",
          "street2": "Suite 1100"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "facebook",
          "id": "http://facebook.com/johndoe"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "Notes about the consumer.",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "dateFormat",
          "value": "dd-mm-yyyy",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "timeFormat",
          "value": "hh.mm.ss (12 hour)",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "notification",
          "value": "Enable",
          "valueType": "string",
          "@type": "StringCharacteristic"
        }
      ],
      "relatedParty": [
        {
          "role": "User",
          "partyOrPartyRole": {
            "id": "36901a6381116a50f8776cfcbee15f3c",
            "name": "John Doe",
            "@type": "Individual"
          }
        }
      ]
    }

## Party Management v1 -- GET /api/sn_tmf_api/v1/party/individual {#ariaid-title4}

Retrieves a list of all individual (party) records with a relationship to the enterprise. You can filter results by specific fields or IDs.

### URL format

Versioned URL: /api/sn_tmf_api/v1/party/individual

Default URL: /api/sn_tmf_api/v1/party/individual

### Supported request parameters

{#partymgmt-GET-individual-v1__entry__2}{#partymgmt-GET-individual-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
[Table 14. Path parameters]

{#partymgmt-GET-individual-v1__entry__6}

| Name | Description |
|-|-|
| fields | List of fields to return in the response. Invalid fields are ignored. Valid fields: * @type * familyName * gender * givenName * href * id * middleName * name * nationality * status * title {#partymgmt-GET-individual-v1__ul_cgv_ywm_3hc} Data type: String Default: Returns all fields. |
| id | Filter party management by sys_id. Specified sys_ids are returned in the response. Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the offset parameter to paginate record retrieval. Data type: Number Default: 20 Maximum: 100 |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval. Data type: Number Default: 0 |
[Table 15. Query parameters]

{#partymgmt-GET-individual-v1__entry__16}

| Name | Description |
|-|-|
| None |   |
[Table 16. Request body parameters (XML or JSON)]

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-individual-v1__entry__20}{#partymgmt-GET-individual-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 17. Request headers]

{#partymgmt-GET-individual-v1__entry__24}

| Header | Description |
|-|-|
| Content-Range | Range of content returned in a paginated call. For example, if offset=2 and limit=3, the value of the Content-Range header is items 3-5. |
| Content-Type | Data format of the response body. Only supports application/json. |
| Link | Contains the following links to navigate through query results: * first * last * next * previous {#partymgmt-GET-individual-v1__ul_lwd_rxm_3hc} |
| X-Total-Count | For paginated queries, this header specifies the total number of records available on the server. |
[Table 18. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-individual-v1__entry__34}

| Status code | Description |
|-|-|
| 200 | Request successfully processed. Full resource returned in response (no pagination). |
| 206 | Partial resource returned in response (with pagination). |
| 400 | Bad request. Possible reasons: * Invalid path parameter * Invalid URI {#partymgmt-GET-individual-v1__ul_dz4_5xm_3hc} |
| 404 | Record not found. No records matching the query parameters are found in the table. |
[Table 19. Status codes]

### Response body parameters (JSON or XML)

{#partymgmt-GET-individual-v1__partymgmt-GET-individual-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | List of individual records. Each record in the array has the following structure. [ { "id": "String", "href": "String", "@type": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } ] |
| @type | Type of the individual record. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| contactMedium | List of means for contacting the individual. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "locationId": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.locationId | Sys_id of the location record linked to the address. Table: Location \[cmn_location\] Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| externalReference | List of identifiers of the individual in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the individual in the external system, such as a profile URL. Data type: String |
| familyName | Last name of the individual. Data type: String |
| gender | Gender of the individual. Data type: String |
| givenName | First name of the individual. Data type: String |
| href | Relative link to the Consumer or Contact record. Data type: String |
| id | Sys_id of the Consumer or Contact record. Table: Consumer \[csm_consumer\] or Contact \[customer_contact\] Data type: String |
| middleName | Middle name of the individual. Data type: String |
| name | User name of the individual. Data type: String |
| nationality | Nationality of the individual. Data type: String |
| partyCharacteristic | List of characteristics associated with the individual. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. For example, `notes`, `dateFormat`, `timeZone`, `vip`, or `notification`. Data type: String |
| partyCharacteristic.value | Value of the characteristic. Data type: Depends on valueType. For example, String or Boolean. |
| partyCharacteristic.valueType | Data type of the characteristic's value. For example, `string` or `boolean`. Data type: String |
| partyOrPartyRole | Party type and role of the individual record. In POST requests, determines whether the request creates a Consumer or Contact record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String" } |
| partyOrPartyRole.@type | Type of party. Possible values: * `Consumer` * `Contact` Data type: String |
| partyOrPartyRole.role | Role of the individual. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| relatedParty | List of parties related to the individual. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related party. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Possible values: * `Individual`: Related party is a user. * `Organization`: Related party is a company or department. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related party record. Table: Depends on the related party role: * Company: Company \[core_company\] * Department: Department \[cmn_department\] * User: User \[sys_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party. Data type: String |
| relatedParty.role | Role that the related party plays for the individual. Possible values: * `Company`: Company associated with the individual. * `Department`: Department associated with the individual. * `User`: User associated with the consumer. Data type: String |
| status | Status of the individual record. Possible values: * `active`: Record is active. * `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`. Data type: String |
[ ]

{#partymgmt-GET-individual-v1__partymgmt-GET-individual-response-table}  

### cURL request

Retrieves a list of all party management records in the instance.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/individual" \
      --request GET \
      --header "Accept: application/json" \
      --user 'user:password'

Response body for a Contact record.

    [
    {
       "id": "34d92aaa11f43110f877366201dea67b",
       "href": "api/sn_tmf_api/party/individual/34d92aaa11f43110f877366201dea67b",
       "name": "carlos.star",
       "givenName": "Carlos",
       "middleName": "",
       "familyName": "Star",
       "gender": "",
       "title": "",
       "partyCharacteristic": [
         {
           "name": "notification",
           "value": "Enable",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "preferredLanguage",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "dateFormat",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "timeFormat",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "timeZone",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "vip",
           "value": false,
           "valueType": "boolean",
           "@type": "BooleanCharacteristic"
         },
         {
           "name": "webServiceAccessOnly",
           "value": false,
           "valueType": "boolean",
           "@type": "BooleanCharacteristic"
         },
         {
           "name": "source",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "eduStatus",
           "value": "Faculty",
           "valueType": "string",
           "@type": "StringCharacteristic"
         }
       ],
       "contactMedium": [
         {
           "preferred": false,
           "mediumType": "email",
           "emailAddress": "carlos.star@example.com",
           "@type": "EmailContactMedium"
         },
         {
           "preferred": false,
           "mediumType": "businessPhone",
           "phoneNumber": "",
           "@type": "BusinessPhoneContactMedium"
         },
         {
           "preferred": false,
           "mediumType": "homePhone",
           "phoneNumber": "",
           "@type": "HomePhoneContactMedium"
         },
         {
           "preferred": false,
           "mediumType": "mobilePhone",
           "phoneNumber": "",
           "@type": "PhoneContactMedium"
         }
       ],
       "externalReference": [],
       "relatedParty": [
         {
           "role": "Company",
           "partyOrPartyRole": {
             "id": "9e2fd2ee11b43110f877366201dea674",
             "name": "Startech svcs",
             "@type": "Organization"
           }
         },
         {
           "role": "Department",
           "partyOrPartyRole": {
             "id": "",
             "name": "",
             "@type": "Organization"
           }
         }
       ],
       "status": "active",
       "@type": "Contact",
       "partyOrPartyRole": {
         "@type": "Contact",
         "role": "Contact"
       }
     }
    ]

Response body for a Consumer record.

    [
    {
       "id": "168bfc6953a46210132bddeeff7b129f",
       "href": "api/sn_tmf_api/party/individual/168bfc6953a46210132bddeeff7b129f",
       "givenName": "Priya",
       "middleName": "",
       "familyName": "Patel",
       "gender": "",
       "nationality": "",
       "title": "",
       "partyCharacteristic": [
         {
           "name": "notes",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "user",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "notification",
           "value": "Enable",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "preferredLanguage",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "dateFormat",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "timeFormat",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         },
         {
           "name": "timeZone",
           "value": "",
           "valueType": "string",
           "@type": "StringCharacteristic"
         }
       ],
       "contactMedium": [
         {
           "preferred": false,
           "mediumType": "businessPhone",
           "phoneNumber": "",
           "@type": "BusinessPhoneContactMedium"
         },
         {
           "preferred": false,
           "mediumType": "homePhone",
           "phoneNumber": "",
           "@type": "HomePhoneContactMedium"
         },
         {
           "preferred": false,
           "mediumType": "mobilePhone",
           "phoneNumber": "",
           "@type": "PhoneContactMedium"
         },
         {
           "preferred": false,
           "mediumType": "faxPhone",
           "phoneNumber": "",
           "@type": "FaxPhoneContactMedium"
         },
         {
           "preferred": false,
           "mediumType": "postalAddress",
           "@type": "GeographicAddressContactMedium",
           "city": "Austin",
           "locationId": "a39bfc6953a46210132bddeeff7b12b7",
           "country": "USA",
           "postCode": "78701",
           "stateOrProvince": "Texas",
           "street1": "500 Congress Ave",
           "street2": ""
         }
       ],
       "externalReference": [],
       "relatedParty": [
         {
           "role": "User",
           "partyOrPartyRole": {
             "id": "",
             "name": "",
             "@type": "Individual"
           }
         }
       ],
       "status": "active",
       "@type": "Consumer",
       "partyOrPartyRole": {
         "@type": "Consumer",
         "role": "Consumer"
       }
     }
    ]

## Party Management v1 -- GET/api/ sn_tmf_api/v1/party/organization/{id} {#ariaid-title5}

Retrieves a specified record from the Account \[customer_account\] tables. You can filter results by specific fields or IDs.

### URL format

Versioned URL: /api/sn_tmf_api/v1/party/organization/{id}

Default URL: /api/sn_tmf_api/v1/party/organization/{id}

### Supported request parameters

{#partymgmt-GET-org-id-v1__entry__2}{#partymgmt-GET-org-id-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys_id of the company or account record to retrieve. Table: Account \[customer_account\] Data type: String |
[Table 20. Path parameters]

{#partymgmt-GET-org-id-v1__entry__8}

| Name | Description |
|-|-|
| fields | List of fields to return in the response. Invalid fields are ignored. Valid fields: * @type * href * id * legalName * name * status * tradingName {#partymgmt-GET-org-id-v1__ul_irf_5mn_3hc} Data type: String Default: Returns all fields |
| id | Filter party management by sys_id. Specified sys_ids are returned in the response. Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the offset parameter to paginate record retrieval. Data type: Number Default: 20 Maximum: 100 |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks. Data type: Number Default: 0 |
[Table 21. Query parameters]

{#partymgmt-GET-org-id-v1__entry__18}

| Name | Description |
|-|-|
| None |   |
[Table 22. Request body parameters (XML or JSON)]

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-org-id-v1__entry__22}{#partymgmt-GET-org-id-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 23. Request headers]

{#partymgmt-GET-org-id-v1__entry__26}

| Header | Description |
|-|-|
| None |   |
[Table 24. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-org-id-v1__entry__30}{#partymgmt-GET-org-id-v1__entry-200-status-code}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
[Table 25. Status codes]

### Response body parameters (JSON or XML)

{#partymgmt-GET-org-id-v1__partymgmt-GET-org-id-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | Response object structure for the v1 request. { "id": "String", "href": "String", "@type": "String", "name": "String", "legalName": "String", "tradingName": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } |
| @type | Type of the organization record. Value is always `Account`. Data type: String |
| contactMedium | List of means for contacting the organization. Data type: Array of Objects "contactMedium": [ { "@type": "String", "emailAddress": "String", "mediumType": "String", "phoneNumber": "String", "preferred": "Boolean" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| externalReference | List of identifiers of the organization in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "name": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.name | Name or identifier of the organization in the external system. For example, `facebook.com`. Data type: String |
| href | Relative link to the Account record. Data type: String |
| id | Sys_id of the Account record. Table: Account \[customer_account\] Data type: String |
| legalName | Legal name of the organization. Data type: String |
| name | Name of the organization. Data type: String |
| organizationChildRelationship | List of child organization relationships, such as partner, subsidiary, or branch organizations. Data type: Array of Objects "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] |
| organizationChildRelationship.organization | Details about the child organization. Data type: Object "organization": { "id": "String", "name": "String", "href": "String", "@type": "String" } |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationChildRelationship.organization.href | Relative link to the child organization record. Data type: String |
| organizationChildRelationship.organization.id | Sys_id of the child organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization. Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization. For example, `Partner Account`. Data type: String |
| organizationParentRelationship | Relationship to the parent organization. Data type: Object "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } |
| organizationParentRelationship.organization | Details about the parent organization. Data type: Object "organization": { "id": "String", "name": "String", "href": "String", "@type": "String" } |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationParentRelationship.organization.href | Relative link to the parent organization record. Data type: String |
| organizationParentRelationship.organization.id | Sys_id of the parent organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization. Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Possible values: * `Account` * `Company` * `HoldingCompany` * `ParentAccount` Data type: String |
| partyCharacteristic | List of characteristics associated with the organization. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `IntegerCharacteristic` * `StringArrayCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. Possible values: * `accountCode` * `identificationNumber` * `industry` * `manufacturer` * `marketCap` * `notes` * `numEmployees` * `profits` * `publiclyTraded` * `rankTier` * `registrationCode` * `revenuePerYear` * `stockPrice` * `stockSymbol` * `taxId` * `vendor` * `vendorType` * `website` Data type: String |
| partyCharacteristic.value | Value of the characteristic, as a string regardless of valueType. For example, `"false"` or `"10"`. Data type: String |
| partyCharacteristic.valueType | Data type of the characteristic's value. Possible values: * `boolean` * `choice` * `integer` * `list` * `string` Data type: String |
| partyOrPartyRole | Party type, role, and account classification of the organization record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String", "name": "String" } |
| partyOrPartyRole.@type | Type of party. Value is always `Account`. Data type: String |
| partyOrPartyRole.name | Account classification. Multiple classifications are joined with underscores. For example, `customer` or `customer_partner`. Data type: String |
| partyOrPartyRole.role | Role of the party. Value is always `Account`. Data type: String |
| relatedParty | List of contacts related to the organization. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related contact. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Value is always `Individual`. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related contact record. Table: Contact \[customer_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact. Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Possible values: * `other`: Other contact for the organization. * `primaryContact`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Possible values: * `active`: Organization is active. * `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under. Data type: String |
[ ]

{#partymgmt-GET-org-id-v1__partymgmt-GET-org-id-response-table}  

### cURL request

The following example retrieves the Account record with sys_id a1b2c3d4e5f6478990abcdef12345678.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/organization/a1b2c3d4e5f6478990abcdef12345678" \
      --request GET \
      --header "Accept: application/json" \
      --user 'user:password'

Response body.

    {
      "id": "a1b2c3d4e5f6478990abcdef12345678",
      "href": "api/sn_tmf_api/party/organization/a1b2c3d4e5f6478990abcdef12345678",
      "@type": "Account",
      "name": "Advanced Super Computing",
      "legalName": "Advanced Super Computing Inc.",
      "tradingName": "ASC",
      "status": "inactive",
      "partyOrPartyRole": {
        "@type": "Account",
        "role": "Account",
        "name": "customer_partner_vendor_manufacturer"
      },
      "contactMedium": [
        {
          "preferred": false,
          "mediumType": "email",
          "emailAddress": "user@example.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0123",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "faxPhone",
          "phoneNumber": "",
          "@type": "FaxPhoneContactMedium"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "Facebook",
          "name": "facebook.com"
        },
        {
          "externalIdentifierType": "Twitter",
          "name": "twitter.com"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "Strategic hardware partner.",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "registrationCode",
          "value": "23456789",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "accountCode",
          "value": "ACCT0001030",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "identificationNumber",
          "value": "",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "taxId",
          "value": "",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "industry",
          "value": "Manufacturing",
          "valueType": "choice",
          "@type": "StringCharacteristic"
        },
        {
          "name": "numEmployees",
          "value": "",
          "valueType": "integer",
          "@type": "IntegerCharacteristic"
        },
        {
          "name": "rankTier",
          "value": "",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "publiclyTraded",
          "value": "false",
          "valueType": "boolean",
          "@type": "BooleanCharacteristic"
        },
        {
          "name": "stockSymbol",
          "value": "",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "stockPrice",
          "value": "",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "vendorType",
          "value": "Services, Applications",
          "valueType": "list",
          "@type": "StringArrayCharacteristic"
        },
        {
          "name": "marketCap",
          "value": "0",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "profits",
          "value": "0",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "revenuePerYear",
          "value": "0",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "website",
          "value": "example.com",
          "valueType": "string",
          "@type": "StringCharacteristic"
        }
      ],
      "relatedParty": [
        {
          "role": "primaryContact",
          "partyOrPartyRole": {
            "id": "b88d14843bc02300bfe04d72f3efc4cd",
            "name": "Amy Chen",
            "@type": "Individual"
          }
        },
        {
          "role": "other",
          "partyOrPartyRole": {
            "id": "016b7a36ff14a610f8dfffffffffffcb",
            "name": "Mary Star",
            "@type": "Individual"
          }
        }
      ],
      "organizationChildRelationship": [
        {
          "relationshipType": "Partner Account",
          "organization": {
            "id": "9e2fd2ee11b43110f877366201dea674",
            "name": "Startech svcs",
            "href": "api/sn_tmf_api/party/organization/9e2fd2ee11b43110f877366201dea674",
            "@type": "Organization"
          }
        }
      ],
      "organizationParentRelationship": {
        "relationshipType": "Account",
        "organization": {
          "id": "ffc68911c35420105252716b7d40dd55",
          "name": "Funco Intl.",
          "href": "api/sn_tmf_api/party/organization/ffc68911c35420105252716b7d40dd55",
          "@type": "Organization"
        }
      }
    }

## Party Management v1 - GET /api/sn_tmf_api/v1/party/organization {#ariaid-title6}

Retrieves organization-level party records from the Company \[core_company\] and Account \[customer_account\]
tables. You can filter results by specific fields or IDs.

### URL format

Versioned URL: /api/sn_tmf_api/v1/party/organization

Default URL: /api/sn_tmf_api/v1/party/organization

### Supported request parameters

{#partymgmt-GET-org-v1__entry__2}{#partymgmt-GET-org-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
[Table 26. Path parameters]

{#partymgmt-GET-org-v1__entry__6}

| Name | Description |
|-|-|
| fields | List of fields to return in the response. Invalid fields are ignored. Valid fields: * @type * href * id * legalName * name * status * tradingName {#partymgmt-GET-org-v1__ul_tpl_5hn_3hc} Data type: String Default: Returns all fields |
| id | Filter party management by sys_id. Specified sys_ids are returned in the response. Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the offset parameter to paginate record retrieval. Data type: Number Default: 20 Maximum: 100 |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks. Data type: Number Default: 0 |
[Table 27. Query parameters]

{#partymgmt-GET-org-v1__table_t23_qqn_dlc__entry__2}

| Name | Description |
|-|-|
| None |   |
[Table 28. Request body parameters (XML or JSON)]

{#partymgmt-GET-org-v1__table_t23_qqn_dlc}

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-org-v1__entry__20}{#partymgmt-GET-org-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 29. Request headers]

{#partymgmt-GET-org-v1__entry__24}

| Header | Description |
|-|-|
| None |   |
[Table 30. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-GET-org-v1__entry__28}{#partymgmt-GET-org-v1__entry-200-status-code}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
[Table 31. Status codes]

### Response body parameters (JSON or XML)

{#partymgmt-GET-org-v1__partymgmt-GET-org-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | List of organization records. Each record in the array has the following structure. [ { "id": "String", "href": "String", "@type": "String", "name": "String", "legalName": "String", "tradingName": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } ] |
| @type | Type of the organization record. Value is always `Account`. Data type: String |
| contactMedium | List of means for contacting the organization. Data type: Array of Objects "contactMedium": [ { "@type": "String", "emailAddress": "String", "mediumType": "String", "phoneNumber": "String", "preferred": "Boolean" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| externalReference | List of identifiers of the organization in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "name": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.name | Name or identifier of the organization in the external system. For example, `facebook.com`. Data type: String |
| href | Relative link to the Account record. Data type: String |
| id | Sys_id of the Account record. Table: Account \[customer_account\] Data type: String |
| legalName | Legal name of the organization. Data type: String |
| name | Name of the organization. Data type: String |
| organizationChildRelationship | List of child organization relationships, such as partner, subsidiary, or branch organizations. Data type: Array of Objects "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] |
| organizationChildRelationship.organization | Details about the child organization. Data type: Object "organization": { "id": "String", "name": "String", "href": "String", "@type": "String" } |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationChildRelationship.organization.href | Relative link to the child organization record. Data type: String |
| organizationChildRelationship.organization.id | Sys_id of the child organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization. Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization. For example, `Partner Account`. Data type: String |
| organizationParentRelationship | Relationship to the parent organization. Data type: Object "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } |
| organizationParentRelationship.organization | Details about the parent organization. Data type: Object "organization": { "id": "String", "name": "String", "href": "String", "@type": "String" } |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationParentRelationship.organization.href | Relative link to the parent organization record. Data type: String |
| organizationParentRelationship.organization.id | Sys_id of the parent organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization. Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Possible values: * `Account` * `Company` * `HoldingCompany` * `ParentAccount` Data type: String |
| partyCharacteristic | List of characteristics associated with the organization. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `IntegerCharacteristic` * `StringArrayCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. Possible values: * `accountCode` * `identificationNumber` * `industry` * `manufacturer` * `marketCap` * `notes` * `numEmployees` * `profits` * `publiclyTraded` * `rankTier` * `registrationCode` * `revenuePerYear` * `stockPrice` * `stockSymbol` * `taxId` * `vendor` * `vendorType` * `website` Data type: String |
| partyCharacteristic.value | Value of the characteristic, as a string regardless of valueType. For example, `"false"` or `"10"`. Data type: String |
| partyCharacteristic.valueType | Data type of the characteristic's value. Possible values: * `boolean` * `choice` * `integer` * `list` * `string` Data type: String |
| partyOrPartyRole | Party type, role, and account classification of the organization record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String", "name": "String" } |
| partyOrPartyRole.@type | Type of party. Value is always `Account`. Data type: String |
| partyOrPartyRole.name | Account classification. Multiple classifications are joined with underscores. For example, `customer` or `customer_partner`. Data type: String |
| partyOrPartyRole.role | Role of the party. Value is always `Account`. Data type: String |
| relatedParty | List of contacts related to the organization. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related contact. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Value is always `Individual`. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related contact record. Table: Contact \[customer_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact. Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Possible values: * `other`: Other contact for the organization. * `primaryContact`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Possible values: * `active`: Organization is active. * `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under. Data type: String |
[ ]

{#partymgmt-GET-org-v1__partymgmt-GET-org-response-table}  

### cURL request

This returns all organization records related to the enterprise.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/organization" \
      --request GET \
      --header "Accept: application/json" \
      --user 'user:password'

Response body.

    [
      {
        "id": "0bd6717c184da610f87765359bc696d3",
        "href": "api/sn_tmf_api/party/organization/0bd6717c184da610f87765359bc696d3",
        "@type": "Account",
        "name": "SERVICENOW 144",
        "legalName": "",
        "tradingName": "",
        "status": "active",
        "partyOrPartyRole": {
          "@type": "Account",
          "role": "Account",
          "name": "customer_partner"
        },
        "contactMedium": [
          {
            "preferred": false,
            "mediumType": "email",
            "emailAddress": "user@example.com",
            "@type": "EmailContactMedium"
          },
          {
            "preferred": false,
            "mediumType": "businessPhone",
            "phoneNumber": "+1-202-555-0123",
            "@type": "BusinessPhoneContactMedium"
          },
          {
            "preferred": false,
            "mediumType": "faxPhone",
            "phoneNumber": "",
            "@type": "FaxPhoneContactMedium"
          }
        ],
        "externalReference": [
          {
            "externalIdentifierType": "Instagram",
            "name": ""
          }
        ],
        "partyCharacteristic": [
          {
            "name": "notes",
            "value": "Testing for update the notes",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "registrationCode",
            "value": "111122112211",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "accountCode",
            "value": "accountcode1",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "identificationNumber",
            "value": "",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "taxId",
            "value": "CTNUM1000123",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "industry",
            "value": "Manufacturing",
            "valueType": "choice",
            "@type": "StringCharacteristic"
          },
          {
            "name": "numEmployees",
            "value": "",
            "valueType": "integer",
            "@type": "IntegerCharacteristic"
          },
          {
            "name": "rankTier",
            "value": "Valued Partner",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "publiclyTraded",
            "value": "false",
            "valueType": "boolean",
            "@type": "BooleanCharacteristic"
          },
          {
            "name": "stockSymbol",
            "value": "Market",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "stockPrice",
            "value": "1000",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "vendorType",
            "value": "Hardware",
            "valueType": "list",
            "@type": "StringArrayCharacteristic"
          },
          {
            "name": "marketCap",
            "value": "0",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "profits",
            "value": "0",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "revenuePerYear",
            "value": "0",
            "valueType": "string",
            "@type": "StringCharacteristic"
          },
          {
            "name": "website",
            "value": "",
            "valueType": "string",
            "@type": "StringCharacteristic"
          }
        ],
        "relatedParty": [],
        "organizationChildRelationship": [
          {
            "relationshipType": "Partner Account",
            "organization": {
              "id": "396b47201841a610f87765359bc696cf",
              "name": "Spark Technologies",
              "href": "api/sn_tmf_api/party/organization/396b47201841a610f87765359bc696cf",
              "@type": "Organization"
            }
          }
        ],
        "organizationParentRelationship": {
          "relationshipType": "Account",
          "organization": {
            "id": "9e2fd2ee11b43110f877366201dea674",
            "name": "Startech svcs",
            "href": "api/sn_tmf_api/party/organization/9e2fd2ee11b43110f877366201dea674",
            "@type": "Organization"
          }
        }
      }
    ]

## Party Management v1 -- PATCH/api/sn_tmf_api/v1/party/individual/{id} {#ariaid-title7}

Updates an existing individual party record in the Consumer \[csm_consumer\] or Contact \[customer_contact\] table without replacing the entire resource.

### URL format

Versioned URL: /api/sn_tmf_api/v1/party/individual

Default URL: /api/sn_tmf_api/v1/party/individual

### Supported request parameters

{#partymgmt-PATCH-id-v1__entry__2}{#partymgmt-PATCH-id-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys_id of the consumer or contact. Tables: Consumer \[csm_consumer\] or Contact \[customer_contact\] Data type: String |
[Table 32. Path parameters]

{#partymgmt-PATCH-id-v1__entry__8}

| Name | Description |
|-|-|
| None |   |
[Table 33. Query parameters]

{#partymgmt-PATCH-id-v1__partymgmt-PATCH-id-request-table__entry__2}

| Name | Description |
|-|-|
| {Request object} | Request object structure for the v1 request. Include only the fields to update. { "@type": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } |
| @type | Type of the individual record. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| contactMedium | List of means for contacting the individual. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| familyName | Last name of the individual. Data type: String |
| gender | Gender of the individual. Data type: String |
| givenName | First name of the individual. Data type: String |
| middleName | Middle name of the individual. Data type: String |
| name | User name of the individual. Data type: String |
| nationality | Nationality of the individual. Data type: String |
| partyCharacteristic | List of characteristics associated with the individual. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. For example, `notes`, `dateFormat`, `timeZone`, `vip`, or `notification`. Data type: String |
| partyCharacteristic.value | Value of the characteristic. Data type: Depends on valueType. For example, String or Boolean. |
| partyCharacteristic.valueType | Data type of the characteristic's value. For example, `string` or `boolean`. Data type: String |
| partyOrPartyRole | Party type and role of the individual record. In POST requests, determines whether the request creates a Consumer or Contact record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String" } |
| partyOrPartyRole.@type | Type of party. Possible values: * `Consumer` * `Contact` Data type: String |
| partyOrPartyRole.role | Role of the individual. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| relatedParty | List of parties related to the individual. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related party. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Possible values: * `Individual`: Related party is a user. * `Organization`: Related party is a company or department. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related party record. Table: Depends on the related party role: * Company: Company \[core_company\] * Department: Department \[cmn_department\] * User: User \[sys_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party. Data type: String |
| relatedParty.role | Role that the related party plays for the individual. Possible values: * `Company`: Company associated with the individual. * `Department`: Department associated with the individual. * `User`: User associated with the consumer. Data type: String |
| status | Status of the individual record. Possible values: * `active`: Record is active. * `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`. Data type: String |
[Table 34. Request body parameters (XML or JSON)]

{#partymgmt-PATCH-id-v1__partymgmt-PATCH-id-request-table}

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-PATCH-id-v1__entry__86}{#partymgmt-PATCH-id-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 35. Request headers]

{#partymgmt-PATCH-id-v1__entry__90}

| Header | Description |
|-|-|
| None |   |
[Table 36. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-PATCH-id-v1__entry__94}{#partymgmt-PATCH-id-v1__entry-200-status-code}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
[Table 37. Status codes]

### Response body parameters (JSON or XML)

{#partymgmt-PATCH-id-v1__partymgmt-PATCH-id-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | Response object structure for the v1 request. { "id": "String", "href": "String", "@type": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } |
| @type | Type of the individual record. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| contactMedium | List of means for contacting the individual. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "locationId": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.locationId | Sys_id of the location record linked to the address. Table: Location \[cmn_location\] Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| familyName | Last name of the individual. Data type: String |
| gender | Gender of the individual. Data type: String |
| givenName | First name of the individual. Data type: String |
| href | Relative link to the Consumer or Contact record. Data type: String |
| id | Sys_id of the Consumer or Contact record. Table: Consumer \[csm_consumer\] or Contact \[customer_contact\] Data type: String |
| middleName | Middle name of the individual. Data type: String |
| name | User name of the individual. Data type: String |
| nationality | Nationality of the individual. Data type: String |
| partyCharacteristic | List of characteristics associated with the individual. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. For example, `notes`, `dateFormat`, `timeZone`, `vip`, or `notification`. Data type: String |
| partyCharacteristic.value | Value of the characteristic. Data type: Depends on valueType. For example, String or Boolean. |
| partyCharacteristic.valueType | Data type of the characteristic's value. For example, `string` or `boolean`. Data type: String |
| partyOrPartyRole | Party type and role of the individual record. In POST requests, determines whether the request creates a Consumer or Contact record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String" } |
| partyOrPartyRole.@type | Type of party. Possible values: * `Consumer` * `Contact` Data type: String |
| partyOrPartyRole.role | Role of the individual. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| relatedParty | List of parties related to the individual. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related party. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Possible values: * `Individual`: Related party is a user. * `Organization`: Related party is a company or department. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related party record. Table: Depends on the related party role: * Company: Company \[core_company\] * Department: Department \[cmn_department\] * User: User \[sys_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party. Data type: String |
| relatedParty.role | Role that the related party plays for the individual. Possible values: * `Company`: Company associated with the individual. * `Department`: Department associated with the individual. * `User`: User associated with the consumer. Data type: String |
| status | Status of the individual record. Possible values: * `active`: Record is active. * `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`. Data type: String |
[ ]

{#partymgmt-PATCH-id-v1__partymgmt-PATCH-id-response-table}  

### cURL request

The following example updates the Consumer record with sys_id a1b2c3d4e5f6478990abcdef12345678 without replacing the entire resource.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/individual/a1b2c3d4e5f6478990abcdef12345678" \
      --request PATCH \
      --header "Accept: application/json" \
      --header "Content-Type: application/json" \
      --user 'user:password' \
      --data '{
      "@type": "Consumer",
      "name": "John.Doe",
      "givenName": "John",
      "middleName": "A.",
      "familyName": "Doe",
      "gender": "male",
      "nationality": "American",
      "title": "Mr",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Consumer",
        "role": "Consumer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "john.doe@example.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0188",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "@type": "GeographicAddressContactMedium",
          "city": "Morristown",
          "country": "USA",
          "postCode": "07960",
          "stateOrProvince": "New Jersey",
          "street1": "240 Headquarters Plaza",
          "street2": "East Tower - 10th Floor"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notification",
          "value": "enable",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "dateFormat",
          "value": "MM/DD/YYYY",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "timeFormat",
          "value": "12-hour",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "timeZone",
          "value": "EST",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "vip",
          "value": true,
          "valueType": "boolean",
          "@type": "BooleanCharacteristic"
        },
        {
          "name": "webServiceAccessOnly",
          "value": false,
          "valueType": "boolean",
          "@type": "BooleanCharacteristic"
        },
        {
          "name": "source",
          "value": "Third-party system",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "eduStatus",
          "value": "Graduated",
          "valueType": "string",
          "@type": "StringCharacteristic"
        }
      ],
      "relatedParty": [
        {
          "role": "Company",
          "partyOrPartyRole": {
            "id": "86c1f3193790200044e0bfc8bcbe5d95",
            "name": "Acme Corporation",
            "@type": "Organization"
          }
        },
        {
          "role": "Department",
          "partyOrPartyRole": {
            "id": "c3fdd27a7b9822105e0d5494548cb6b0",
            "name": "Sales",
            "@type": "Organization"
          }
        }
      ]
    }'

Response body.

    {
      "id": "a1b2c3d4e5f6478990abcdef12345678",
      "href": "api/sn_tmf_api/party/individual/a1b2c3d4e5f6478990abcdef12345678",
      "@type": "Consumer",
      "name": "John.Doe",
      "givenName": "John",
      "middleName": "A.",
      "familyName": "Doe",
      "gender": "male",
      "nationality": "American",
      "title": "Mr",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Consumer",
        "role": "Consumer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "john.doe@example.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0188",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "@type": "GeographicAddressContactMedium",
          "locationId": "25ab9e240a0a0bb3009eb9ef8dd0a2c0",
          "city": "Morristown",
          "country": "USA",
          "postCode": "07960",
          "stateOrProvince": "New Jersey",
          "street1": "240 Headquarters Plaza",
          "street2": "East Tower - 10th Floor"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notification",
          "value": "enable",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "dateFormat",
          "value": "MM/DD/YYYY",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "timeFormat",
          "value": "12-hour",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "timeZone",
          "value": "EST",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "vip",
          "value": true,
          "valueType": "boolean",
          "@type": "BooleanCharacteristic"
        },
        {
          "name": "webServiceAccessOnly",
          "value": false,
          "valueType": "boolean",
          "@type": "BooleanCharacteristic"
        },
        {
          "name": "source",
          "value": "Third-party system",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "eduStatus",
          "value": "Graduated",
          "valueType": "string",
          "@type": "StringCharacteristic"
        }
      ],
      "relatedParty": [
        {
          "role": "Company",
          "partyOrPartyRole": {
            "id": "86c1f3193790200044e0bfc8bcbe5d95",
            "name": "Acme Corporation",
            "@type": "Organization"
          }
        },
        {
          "role": "Department",
          "partyOrPartyRole": {
            "id": "c3fdd27a7b9822105e0d5494548cb6b0",
            "name": "Sales",
            "@type": "Organization"
          }
        }
      ]
    }

## Party Management v1 - PATCH /api/sn_tmf_api/v1/party/organization/{id} {#ariaid-title8}

Updates an existing individual party record in the Account \[customer_account\] tables without replacing the entire resource.

### URL format

Versioned URL: /api/sn_tmf_api/v1/party/organization/{id}

Default URL: /api/sn_tmf_api/v1/party/organization/{id}

### Supported request parameters

{#partymgmt-PATCH-org-id-v1__entry__2}{#partymgmt-PATCH-org-id-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys_id of the account record to update. Table: Account \[customer_account\] Data type: String |
[Table 38. Path parameters]

{#partymgmt-PATCH-org-id-v1__entry__8}

| Name | Description |
|-|-|
| None |   |
[Table 39. Query parameters]

{#partymgmt-PATCH-org-id-v1__partymgmt-PATCH-org-id-request-table__entry__2}

| Name | Description |
|-|-|
| {Request object} | Request object structure for the v1 request. Include only the fields to update. { "@type": "String", "name": "String", "legalName": "String", "tradingName": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } |
| @type | Type of the organization record. Value is always `Account`. Data type: String |
| contactMedium | List of means for contacting the organization. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| contactMedium.validFor | Period during which the address is valid. Data type: Object "validFor": { "startDateTime": "String" } |
| contactMedium.validFor.startDateTime | Date and time from which the address is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`. Data type: String |
| externalReference | List of identifiers of the organization in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the organization in the external system. Data type: String |
| legalName | Legal name of the organization. Data type: String |
| name | Name of the organization. Data type: String |
| organizationChildRelationship | List of child organization relationships, such as partner, subsidiary, or branch organizations. Data type: Array of Objects "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] |
| organizationChildRelationship.organization | Details about the child organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationChildRelationship.organization.id | Sys_id of the child organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization. Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization. For example, `Partner Account`. Data type: String |
| organizationParentRelationship | Relationship to the parent organization. Data type: Object "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } |
| organizationParentRelationship.organization | Details about the parent organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationParentRelationship.organization.id | Sys_id of the parent organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization. Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Possible values: * `Account` * `Company` * `HoldingCompany` * `ParentAccount` Data type: String |
| partyCharacteristic | List of characteristics associated with the organization. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `IntegerCharacteristic` * `StringArrayCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. Possible values: * `accountCode` * `identificationNumber` * `industry` * `manufacturer` * `marketCap` * `notes` * `numEmployees` * `profits` * `publiclyTraded` * `rankTier` * `registrationCode` * `revenuePerYear` * `stockPrice` * `stockSymbol` * `taxId` * `vendor` * `vendorType` * `website` Note: For the `industry` and `rankTier` choice fields, partyCharacteristic.value accepts the display value. Invalid values trigger a warning message in the response. Data type: String |
| partyCharacteristic.value | Value of the characteristic, as a string regardless of valueType. For example, `"false"` or `"10"`. Data type: String |
| partyCharacteristic.valueType | Data type of the characteristic's value. Possible values: * `boolean` * `choice` * `integer` * `list` * `string` Data type: String |
| partyOrPartyRole | Party type, role, and account classification of the organization record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String", "name": "String" } |
| partyOrPartyRole.@type | Type of party. Value is always `Account`. Data type: String |
| partyOrPartyRole.name | Account classification. Multiple classifications are joined with underscores. For example, `customer` or `customer_partner`. Data type: String |
| partyOrPartyRole.role | Role of the party. Value is always `Account`. Data type: String |
| relatedParty | List of contacts related to the organization. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related contact. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Value is always `Individual`. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related contact record. Table: Contact \[customer_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact. Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Possible values: * `other`: Other contact for the organization. * `primaryContact`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Possible values: * `active`: Organization is active. * `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under. Data type: String |
[Table 40. Request body parameters (XML or JSON)]

{#partymgmt-PATCH-org-id-v1__partymgmt-PATCH-org-id-request-table}

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-PATCH-org-id-v1__entry__114}{#partymgmt-PATCH-org-id-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 41. Request headers]

{#partymgmt-PATCH-org-id-v1__entry__118}

| Header | Description |
|-|-|
| None |   |
[Table 42. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-PATCH-org-id-v1__entry__122}{#partymgmt-PATCH-org-id-v1__entry-200-status-code}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
[Table 43. Status codes]

### Response body parameters (JSON or XML) {#partymgmt-PATCH-org-id-v1__section_twt_3vn_dlc}

{#partymgmt-PATCH-org-id-v1__partymgmt-PATCH-org-id-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | Response object structure for the v1 request. { "id": "String", "href": "String", "@type": "String", "name": "String", "legalName": "String", "tradingName": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object}, "createdDate": "String", "lastModifiedDate": "String" } |
| @type | Type of the organization record. Value is always `Account`. Data type: String |
| contactMedium | List of means for contacting the organization. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "locationId": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.locationId | Sys_id of the location record linked to the address. Table: Location \[cmn_location\] Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| contactMedium.validFor | Period during which the address is valid. Data type: Object "validFor": { "startDateTime": "String" } |
| contactMedium.validFor.startDateTime | Date and time from which the address is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`. Data type: String |
| createdDate | Date and time when the organization record was created, in ISO 8601 format. For example, `2025-06-25T14:32:18.000Z`. Data type: String |
| externalReference | List of identifiers of the organization in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the organization in the external system. Data type: String |
| href | Link to the Account record. Data type: String |
| id | Sys_id of the Account record. Table: Account \[customer_account\] Data type: String |
| lastModifiedDate | Date and time when the organization record was last modified, in ISO 8601 format. For example, `2026-11-05T10:15:42.000Z`. Data type: String |
| legalName | Legal name of the organization. Data type: String |
| name | Name of the organization. Data type: String |
| organizationChildRelationship | List of child organization relationships, such as partner, subsidiary, or branch organizations. Data type: Array of Objects "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] |
| organizationChildRelationship.organization | Details about the child organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationChildRelationship.organization.id | Sys_id of the child organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization. Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization. For example, `Partner Account`. Data type: String |
| organizationParentRelationship | Relationship to the parent organization. Data type: Object "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } |
| organizationParentRelationship.organization | Details about the parent organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationParentRelationship.organization.id | Sys_id of the parent organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization. Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Possible values: * `Account` * `Company` * `HoldingCompany` * `ParentAccount` Data type: String |
| partyCharacteristic | List of characteristics associated with the organization. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `IntegerCharacteristic` * `StringArrayCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. Possible values: * `accountCode` * `identificationNumber` * `industry` * `manufacturer` * `marketCap` * `notes` * `numEmployees` * `profits` * `publiclyTraded` * `rankTier` * `registrationCode` * `revenuePerYear` * `stockPrice` * `stockSymbol` * `taxId` * `vendor` * `vendorType` * `website` Data type: String |
| partyCharacteristic.value | Value of the characteristic, as a string regardless of valueType. For example, `"false"` or `"10"`. Data type: String |
| partyCharacteristic.valueType | Data type of the characteristic's value. Possible values: * `boolean` * `choice` * `integer` * `list` * `string` Data type: String |
| partyOrPartyRole | Party type, role, and account classification of the organization record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String", "name": "String" } |
| partyOrPartyRole.@type | Type of party. Value is always `Account`. Data type: String |
| partyOrPartyRole.name | Account classification. Multiple classifications are joined with underscores. For example, `customer` or `customer_partner`. Data type: String |
| partyOrPartyRole.role | Role of the party. Value is always `Account`. Data type: String |
| relatedParty | List of contacts related to the organization. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related contact. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Value is always `Individual`. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related contact record. Table: Contact \[customer_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact. Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Possible values: * `other`: Other contact for the organization. * `primaryContact`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Possible values: * `active`: Organization is active. * `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under. Data type: String |
[ ]

{#partymgmt-PATCH-org-id-v1__partymgmt-PATCH-org-id-response-table}  

### cURL request

The following example updates the Account record with sys_id a1b2c3d4e5f6478990abcdef12345678.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/organization/a1b2c3d4e5f6478990abcdef12345678" \
      --request PATCH \
      --header "Accept: application/json" \
      --header "Content-Type: application/json" \
      --user 'user:password' \
      --data '{
      "@type": "Account",
      "name": "SERVICENOW 144",
      "legalName": "Acme Corp Ltd.",
      "tradingName": "Acme Inc.",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Account",
        "role": "Account",
        "name": "customer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "athammhd@email.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "mobilePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "PhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "validFor": {
            "startDateTime": "2017-03-15T07:49:25.246Z"
          },
          "@type": "GeographicAddressContactMedium",
          "city": "chennai",
          "country": "INDIA",
          "postCode": "608001",
          "stateOrProvince": "tamil nadu",
          "street1": "samcon street",
          "street2": "adyar,chennai"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "Instagram",
          "id": "Instagram"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "Testing for update the notes",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "registrationCode",
          "value": "006",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "industry",
          "value": "Manufacturing",
          "valueType": "choice",
          "@type": "StringCharacteristics"
        },
        {
          "name": "taxId",
          "value": "CTNUM1000123",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "numEmployees",
          "value": "10",
          "valueType": "integer",
          "@type": "StringCharacteristics"
        },
        {
          "name": "rankTier",
          "value": "Valued Partner",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "publiclyTraded",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "vendor",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "manufacturer",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        }
      ],
      "relatedParty": [
        {
          "role": "primaryContact",
          "partyOrPartyRole": {
            "id": "eaf68911c35420105252716b7d40ddde",
            "name": "John Doe",
            "@type": "Individual"
          }
        },
        {
          "role": "other",
          "partyOrPartyRole": {
            "id": "776a22ea11f43110f877366201dea6b7",
            "name": "Mary Star",
            "@type": "Individual"
          }
        }
      ],
      "organizationChildRelationship": [
        {
          "relationshipType": "Partner Account",
          "organization": {
            "id": "051f62b0d7300200e5982cf65e610333",
            "name": "Spark Technologies",
            "@type": "Organization"
          }
        }
      ],
      "organizationParentRelationship": {
        "relationshipType": "Partner Account",
        "organization": {
          "id": "1b1b93da43c63110341605ed0bb8f2f4",
          "name": "Funco Intl.",
          "@type": "Organization"
        }
      }
    }'

Response body.

    {
      "id": "a1b2c3d4e5f6478990abcdef12345678",
      "href": "http://instance.service-now.com/api/sn_tmf_api/v1/party/organization/a1b2c3d4e5f6478990abcdef12345678",
      "@type": "Account",
      "name": "SERVICENOW 144",
      "legalName": "Acme Corp Ltd.",
      "tradingName": "Acme Inc.",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Account",
        "role": "Account",
        "name": "customer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "athammhd@email.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "mobilePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "PhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "validFor": {
            "startDateTime": "2017-03-15T07:49:25.246Z"
          },
          "@type": "GeographicAddressContactMedium",
          "locationId": "03e588a17be062105e0d5494548cb68c",
          "city": "chennai",
          "country": "INDIA",
          "postCode": "608001",
          "stateOrProvince": "tamil nadu",
          "street1": "samcon street",
          "street2": "adyar,chennai"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "Instagram",
          "id": "Instagram"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "Testing for update the notes",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "registrationCode",
          "value": "006",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "industry",
          "value": "Manufacturing",
          "valueType": "choice",
          "@type": "StringCharacteristics"
        },
        {
          "name": "taxId",
          "value": "CTNUM1000123",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "numEmployees",
          "value": "10",
          "valueType": "integer",
          "@type": "StringCharacteristics"
        },
        {
          "name": "rankTier",
          "value": "Valued Partner",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "publiclyTraded",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "vendor",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "manufacturer",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        }
      ],
      "relatedParty": [
        {
          "role": "primaryContact",
          "partyOrPartyRole": {
            "id": "eaf68911c35420105252716b7d40ddde",
            "name": "John Doe",
            "@type": "Individual"
          }
        },
        {
          "role": "other",
          "partyOrPartyRole": {
            "id": "776a22ea11f43110f877366201dea6b7",
            "name": "Mary Star",
            "@type": "Individual"
          }
        }
      ],
      "organizationChildRelationship": [
        {
          "relationshipType": "Partner Account",
          "organization": {
            "id": "051f62b0d7300200e5982cf65e610333",
            "name": "Spark Technologies",
            "@type": "Organization"
          }
        }
      ],
      "organizationParentRelationship": {
        "relationshipType": "Partner Account",
        "organization": {
          "id": "1b1b93da43c63110341605ed0bb8f2f4",
          "name": "Funco Intl.",
          "@type": "Organization"
        }
      },
      "createdDate": "2025-06-25T14:32:18.000Z",
      "lastModifiedDate": "2026-11-05T10:15:42.000Z"
    }

## Party Management v1 - POST /api/sn_tmf_api/v1/party/individual {#ariaid-title9}

Creates a new individual party management record in the Consumer \[csm_consumer\] or Contact \[customer_contact\] tables.

### URL format

Versioned URL: /api/sn_tmf_api/v1/party/individual

Default URL: /api/sn_tmf_api/v1/party/individual

### Supported request parameters

{#partymgmt-POST-individual-v1__entry__2}{#partymgmt-POST-individual-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
[Table 44. Path parameters]

{#partymgmt-POST-individual-v1__entry__6}

| Name | Description |
|-|-|
| None |   |
[Table 45. Query parameters]

{#partymgmt-POST-individual-v1__partymgmt-POST-individual-request-table__entry__2}

| Name | Description |
|-|-|
| {Request object} | Request object structure for the v1 request. { "@type": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array] } |
| @type | Type of the individual record. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| contactMedium | List of means for contacting the individual. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| externalReference | List of identifiers of the individual in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the individual in the external system, such as a profile URL. Data type: String |
| familyName | Last name of the individual. Data type: String |
| gender | Gender of the individual. Data type: String |
| givenName | First name of the individual. Data type: String |
| middleName | Middle name of the individual. Data type: String |
| name | User name of the individual. Data type: String |
| nationality | Nationality of the individual. Data type: String |
| partyCharacteristic | List of characteristics associated with the individual. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. For example, `notes`, `dateFormat`, `timeZone`, `vip`, or `notification`. Data type: String |
| partyCharacteristic.value | Value of the characteristic. Data type: Depends on valueType. For example, String or Boolean. |
| partyCharacteristic.valueType | Data type of the characteristic's value. For example, `string` or `boolean`. Data type: String |
| partyOrPartyRole | Party type and role of the individual record. In POST requests, determines whether the request creates a Consumer or Contact record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String" } |
| partyOrPartyRole.@type | Type of party. Possible values: * `Consumer` * `Contact` Data type: String |
| partyOrPartyRole.role | Role of the individual. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| relatedParty | List of parties related to the individual. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related party. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Possible values: * `Individual`: Related party is a user. * `Organization`: Related party is a company or department. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related party record. If no matching record exists, the record is created without the related party and the response includes a warning. Table: Depends on the related party role: * Company: Company \[core_company\] * Department: Department \[cmn_department\] * User: User \[sys_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party. Data type: String |
| relatedParty.role | Role that the related party plays for the individual. Possible values: * `Company`: Company associated with the individual. * `Department`: Department associated with the individual. * `User`: User associated with the consumer. Data type: String |
| status | Status of the individual record. Possible values: * `active`: Record is active. * `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`. Data type: String |
[Table 46. Request body parameters (XML or JSON)]

{#partymgmt-POST-individual-v1__partymgmt-POST-individual-request-table}

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-POST-individual-v1__entry__90}{#partymgmt-POST-individual-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 47. Request headers]

{#partymgmt-POST-individual-v1__entry__94}

| Header | Description |
|-|-|
| None |   |
[Table 48. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-POST-individual-v1__entry__98}{#partymgmt-POST-individual-v1__entry-200-status-code}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. |
[Table 49. Status codes]

### Response body parameters (JSON or XML)

{#partymgmt-POST-individual-v1__partymgmt-POST-individual-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | Response object structure for the v1 request. { "id": "String", "href": "String", "@type": "String", "name": "String", "givenName": "String", "middleName": "String", "familyName": "String", "gender": "String", "nationality": "String", "title": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "warning": [Array] } |
| @type | Type of the individual record. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| contactMedium | List of means for contacting the individual. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "locationId": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String" } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.locationId | Sys_id of the location record linked to the address. Table: Location \[cmn_location\] Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| externalReference | List of identifiers of the individual in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the individual in the external system, such as a profile URL. Data type: String |
| familyName | Last name of the individual. Data type: String |
| gender | Gender of the individual. Data type: String |
| givenName | First name of the individual. Data type: String |
| href | Relative link to the Consumer or Contact record. Data type: String |
| id | Sys_id of the Consumer or Contact record. Table: Consumer \[csm_consumer\] or Contact \[customer_contact\] Data type: String |
| middleName | Middle name of the individual. Data type: String |
| name | User name of the individual. Data type: String |
| nationality | Nationality of the individual. Data type: String |
| partyCharacteristic | List of characteristics associated with the individual. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. For example, `notes`, `dateFormat`, `timeZone`, `vip`, or `notification`. Data type: String |
| partyCharacteristic.value | Value of the characteristic. Data type: Depends on valueType. For example, String or Boolean. |
| partyCharacteristic.valueType | Data type of the characteristic's value. For example, `string` or `boolean`. Data type: String |
| partyOrPartyRole | Party type and role of the individual record. In POST requests, determines whether the request creates a Consumer or Contact record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String" } |
| partyOrPartyRole.@type | Type of party. Possible values: * `Consumer` * `Contact` Data type: String |
| partyOrPartyRole.role | Role of the individual. Possible values: * `Consumer`: Consumer record. * `Contact`: Contact record. Data type: String |
| relatedParty | List of parties related to the individual. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related party. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Possible values: * `Individual`: Related party is a user. * `Organization`: Related party is a company or department. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related party record. Table: Depends on the related party role: * Company: Company \[core_company\] * Department: Department \[cmn_department\] * User: User \[sys_user\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related party. Data type: String |
| relatedParty.role | Role that the related party plays for the individual. Possible values: * `Company`: Company associated with the individual. * `Department`: Department associated with the individual. * `User`: User associated with the consumer. Data type: String |
| status | Status of the individual record. Possible values: * `active`: Record is active. * `inactive`: Record is inactive. Data type: String |
| title | Prefix or title of the individual. For example, `Mr`, `Ms`, or `Dr`. Data type: String |
| warning | List of warning messages about parts of the request that couldn't be processed. The record is still created, but without the invalid values. Returned only when a warning occurs. Example: `relatedParty[0] is incorrect. User does not exist` Data type: Array of Strings |
[ ]

{#partymgmt-POST-individual-v1__partymgmt-POST-individual-response-table}  

### cURL request

The following example creates a Consumer record. The related user in the request doesn't exist, so the response includes a warning.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/individual" \
      --request POST \
      --header "Accept: application/json" \
      --header "Content-Type: application/json" \
      --user 'user:password' \
      --data '{
      "@type": "Consumer",
      "name": "Jane Smith",
      "givenName": "Jane",
      "middleName": "B.",
      "familyName": "Smith",
      "gender": "female",
      "nationality": "American",
      "title": "Ms",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Consumer",
        "role": "Consumer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "jane.smith@example.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "mobilePhone",
          "phoneNumber": "+1-416-555-1234",
          "@type": "PhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-416-555-5678",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "faxPhone",
          "phoneNumber": "987654321",
          "@type": "FaxPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-416-555-4321",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "@type": "GeographicAddressContactMedium",
          "city": "Toronto",
          "country": "Canada",
          "postCode": "M5H 2N2",
          "stateOrProvince": "Ontario",
          "street1": "123 Queen St W",
          "street2": "Suite 1500"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "linkedin",
          "id": "http://linkedin.com/in/janesmith"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "General consumer information.",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "userName",
          "value": "janesmith",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "vip",
          "value": false,
          "valueType": "boolean",
          "@type": "BooleanCharacteristic"
        },
        {
          "name": "source",
          "value": "CRM System",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "dateFormat",
          "value": "yyyy-mm-dd",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "timeFormat",
          "value": "HH:mm:ss (24 hour)",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "notification",
          "value": "Disabled",
          "valueType": "string",
          "@type": "StringCharacteristic"
        }
      ],
      "relatedParty": [
        {
          "role": "User",
          "partyOrPartyRole": {
            "id": "c456def03710200044e0bfc8bcbe5d99",
            "name": "Jane Smith",
            "@type": "Individual"
          }
        }
      ]
    }'

Response body.

    {
      "id": "83e588a17b6062105e0d5494548cb65d",
      "href": "api/sn_tmf_api/party/individual/83e588a17b6062105e0d5494548cb65d",
      "@type": "Consumer",
      "name": "Jane Smith",
      "givenName": "Jane",
      "middleName": "B.",
      "familyName": "Smith",
      "gender": "female",
      "nationality": "American",
      "title": "Ms",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Consumer",
        "role": "Consumer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "jane.smith@example.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "mobilePhone",
          "phoneNumber": "+1-416-555-1234",
          "@type": "PhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-416-555-5678",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "faxPhone",
          "phoneNumber": "987654321",
          "@type": "FaxPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-416-555-4321",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "@type": "GeographicAddressContactMedium",
          "locationId": "03e588a17be062105e0d5494548cb68c",
          "city": "Toronto",
          "country": "Canada",
          "postCode": "M5H 2N2",
          "stateOrProvince": "Ontario",
          "street1": "123 Queen St W",
          "street2": "Suite 1500"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "linkedin",
          "id": "http://linkedin.com/in/janesmith"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "General consumer information.",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "userName",
          "value": "janesmith",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "vip",
          "value": false,
          "valueType": "boolean",
          "@type": "BooleanCharacteristic"
        },
        {
          "name": "source",
          "value": "CRM System",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "dateFormat",
          "value": "yyyy-mm-dd",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "timeFormat",
          "value": "HH:mm:ss (24 hour)",
          "valueType": "string",
          "@type": "StringCharacteristic"
        },
        {
          "name": "notification",
          "value": "Disabled",
          "valueType": "string",
          "@type": "StringCharacteristic"
        }
      ],
      "relatedParty": [
        {
          "role": "User",
          "partyOrPartyRole": {
            "id": "c456def03710200044e0bfc8bcbe5d99",
            "name": "Jane Smith",
            "@type": "Individual"
          }
        }
      ],
      "warning": [
        "relatedParty[0] is incorrect. User does not exist"
      ]
    }

## Party Management v1 - POST /api/sn_tmf_api/v1/party/organization {#ariaid-title10}

Creates a new party organization record in the Account \[customer_account\] tables. You can also create and associate Contact and Location records inline during organization creation, eliminating the need for separate POST
operations.

### Automatic Location Creation with contactMedium {#partymgmt-POST-org-v1__section_f3z_z5f_dkc}

When you include address information in the contactMedium field (with @type set to `GeographicAddressContactMedium`), the system automatically handles location creation and association based on what you provide:

1. If you supply a valid locationId, the system links the existing location record to the organization you are creating.
2. If you provide address attributes (street, city, country, postCode, stateOrProvince) along with an invalid or non-existent locationId, the system automatically creates a new location record with those attributes and associates it to the organization.
3. If you provide address attributes without specifying a locationId at all, the system creates a new location record and associates it to the organization.

{#partymgmt-POST-org-v1__ol_g3z_z5f_dkc}  
Note:  
Location creation requires no mandatory fields. You can provide any combination of address attributes (street1, street2, city, state, postCode, country) based on your needs. If you omit all address attributes from the contactMedium section, no location record is created or linked to the organization.

### Inline Contact Creation with relatedParty {#partymgmt-POST-org-v1__section_jxx_z5f_dkc}

When you include contact attributes in the relatedParty field without providing a
contact ID, the system automatically creates a new contact record and associates it to the organization you are creating. This eliminates the need for a separate POST request to create the contact first. You can include the
following contact information directly in the relatedParty.partyOrPartyRole object.  
Mandatory attributes for inline contact creation:

* familyName (or lastName)
* email
{#partymgmt-POST-org-v1__ul_kxx_z5f_dkc}  
Optional attributes:

* givenName
* middleName
* gender
* title
* nationality
* contactMedium (to include phone, address, or other contact details)
{#partymgmt-POST-org-v1__ul_lxx_z5f_dkc}

Example: Creating a contact inline without a pre-existing ID.

    {
      "relatedParty": [
        {
          "role": "primaryContact",
          "partyOrPartyRole": {
            "givenName": "John",
            "familyName": "Doe",
            "email": "john.doe@example.com",
            "@type": "Individual"
          }
        }
      ]
    }

Legacy approach: Linking an existing contact by ID.  
If you already have a contact record, you can link it by providing its sys_id instead:

    {
      "relatedParty": [
        {
          "role": "primaryContact",
          "partyOrPartyRole": {
            "id": "existing_contact_sys_id",
            "name": "John Doe",
            "@type": "Individual"
          }
        }
      ]
    }

Both approaches are supported. The system automatically determines whether to create a new contact or link an existing one based on whether the partyOrPartyRole includes an id field.

### URL format

Versioned URL: /api/sn_tmf_api/v1/party/organization

Default URL: /api/sn_tmf_api/v1/party/organization

### Supported request parameters

{#partymgmt-POST-org-v1__entry__2}{#partymgmt-POST-org-v1__version-not_optional-RESTAPI}

| Name | Description |
|-|-|
| api_version | Optional. Version of the endpoint to access. For example, <kbd class="ph userinput">v1</kbd> or <kbd class="ph userinput">v2</kbd>. Only specify this value to use an endpoint version other than the latest. Data type: String |
[Table 50. Path parameters]

{#partymgmt-POST-org-v1__entry__6}

| Name | Description |
|-|-|
| None |   |
[Table 51. Query parameters]

{#partymgmt-POST-org-v1__partymgmt-POST-org-request-table__entry__2}

| Name | Description |
|-|-|
| {Request object} | Request object structure for the v1 request. { "@type": "String", "name": "String", "legalName": "String", "tradingName": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object} } |
| @type | Type of the organization record. Value is always `Account`. Data type: String |
| contactMedium | List of means for contacting the organization. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "locationId": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.locationId | Sys_id of an existing location record to link to the organization. If the ID is invalid or omitted and address attributes are provided, the system creates a new location record. Table: Location \[cmn_location\] Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| contactMedium.validFor | Period during which the address is valid. Data type: Object "validFor": { "startDateTime": "String" } |
| contactMedium.validFor.startDateTime | Date and time from which the address is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`. Data type: String |
| externalReference | List of identifiers of the organization in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the organization in the external system. Data type: String |
| legalName | Legal name of the organization. Data type: String |
| name | Name of the organization. Data type: String |
| organizationChildRelationship | List of child organization relationships, such as partner, subsidiary, or branch organizations. Data type: Array of Objects "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] |
| organizationChildRelationship.organization | Details about the child organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationChildRelationship.organization.id | Sys_id of the child organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization. Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization. For example, `Partner Account`. Data type: String |
| organizationParentRelationship | Relationship to the parent organization. Data type: Object "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } |
| organizationParentRelationship.organization | Details about the parent organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationParentRelationship.organization.id | Sys_id of the parent organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization. Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Possible values: * `Account` * `Company` * `HoldingCompany` * `ParentAccount` Data type: String |
| partyCharacteristic | List of characteristics associated with the organization. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `IntegerCharacteristic` * `StringArrayCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. Possible values: * `accountCode` * `identificationNumber` * `industry` * `manufacturer` * `marketCap` * `notes` * `numEmployees` * `profits` * `publiclyTraded` * `rankTier` * `registrationCode` * `revenuePerYear` * `stockPrice` * `stockSymbol` * `taxId` * `vendor` * `vendorType` * `website` Note: For the `industry` and `rankTier` choice fields, partyCharacteristic.value accepts the display value. Invalid values trigger a warning message in the response. Data type: String |
| partyCharacteristic.value | Value of the characteristic, as a string regardless of valueType. For example, `"false"` or `"10"`. Data type: String |
| partyCharacteristic.valueType | Data type of the characteristic's value. Possible values: * `boolean` * `choice` * `integer` * `list` * `string` Data type: String |
| partyOrPartyRole | Party type, role, and account classification of the organization record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String", "name": "String" } |
| partyOrPartyRole.@type | Type of party. Value is always `Account`. Data type: String |
| partyOrPartyRole.name | Account classification. Multiple classifications are joined with underscores. For example, `customer` or `customer_partner`. Data type: String |
| partyOrPartyRole.role | Role of the party. Value is always `Account`. Data type: String |
| relatedParty | List of contacts to relate to the organization. To link an existing contact, provide its id. To create a new contact, omit id and provide the contact attributes. See Inline Contact Creation with relatedParty. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related contact. Data type: Object "partyOrPartyRole": { "@type": "String", "contactMedium": [Array], "email": "String", "familyName": "String", "gender": "String", "givenName": "String", "id": "String", "middleName": "String", "name": "String", "nationality": "String", "title": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Value is always `Individual`. Data type: String |
| relatedParty.partyOrPartyRole.contactMedium | Inline contact creation only. Phone, address, or other contact details for the new contact. Uses the same structure as contactMedium. Data type: Array of Objects |
| relatedParty.partyOrPartyRole.email | Inline contact creation only. Email address of the new contact. Required for inline contact creation. Data type: String |
| relatedParty.partyOrPartyRole.familyName | Inline contact creation only. Last name of the new contact. Required for inline contact creation. Data type: String |
| relatedParty.partyOrPartyRole.gender | Inline contact creation only. Gender of the new contact. Data type: String |
| relatedParty.partyOrPartyRole.givenName | Inline contact creation only. First name of the new contact. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of an existing contact to link to the organization. If you omit it, the system creates a new contact from the attributes in relatedParty.partyOrPartyRole. Table: Contact \[customer_contact\] Data type: String |
| relatedParty.partyOrPartyRole.middleName | Inline contact creation only. Middle name of the new contact. Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the existing contact. Used with id. Data type: String |
| relatedParty.partyOrPartyRole.nationality | Inline contact creation only. Nationality of the new contact. Data type: String |
| relatedParty.partyOrPartyRole.title | Inline contact creation only. Prefix or title of the new contact. Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Possible values: * `Account` * `other`: Other contact for the organization. * `primaryContact`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Possible values: * `active`: Organization is active. * `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under. Data type: String |
[Table 52. Request body parameters (XML or JSON)]

{#partymgmt-POST-org-v1__partymgmt-POST-org-request-table}

### Headers

The following request and response headers apply to this HTTP
action only, or apply to this action in a distinct way. For a list of general headers used
in the REST API, see [Supported REST API headers](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-POST-org-v1__entry__130}{#partymgmt-POST-org-v1__accept-RESTAPI}

| Header | Description |
|-|-|
| Accept | Data format of the response body. Supported types: application/json or application/xml. Default: application/json |
[Table 53. Request headers]

{#partymgmt-POST-org-v1__entry__134}

| Header | Description |
|-|-|
| None |   |
[Table 54. Response headers]

### Status codes

The following status codes apply to this HTTP action. For a
list of possible status codes used in the REST API, see [REST API HTTP response
codes](https://www.servicenow.com/docs/TSHwMH5MZNTdV2wXSUhSiw "REST (REpresentational State Transfer) is a simple stateless architecture that provides standards between computer systems on the web, making it easier for them to communicate with each other.").
{#partymgmt-POST-org-v1__entry__138}

| Status code | Description |
|-|-|
| 200 | Successful. The request was successfully processed. Note: Response may include a warning array if: * Invalid relatedParty IDs are provided (related contact or party doesn't exist). * Invalid locationId is provided in contactMedium. Example warning: `relatedParty[0] is incorrect. User does not exist`. {#partymgmt-POST-org-v1__ul_gpz_mvf_dkc} |
[Table 55. Status codes]

### Response body parameters (JSON or XML)

{#partymgmt-POST-org-v1__partymgmt-POST-org-response-table__entry__2}

| Name | Description |
|-|-|
| {Response object} | Response object structure for the v1 request. { "id": "String", "href": "String", "@type": "String", "name": "String", "legalName": "String", "tradingName": "String", "status": "String", "partyOrPartyRole": {Object}, "contactMedium": [Array], "externalReference": [Array], "partyCharacteristic": [Array], "relatedParty": [Array], "organizationChildRelationship": [Array], "organizationParentRelationship": {Object}, "createdDate": "String", "lastModifiedDate": "String", "warning": [Array] } |
| @type | Type of the organization record. Value is always `Account`. Data type: String |
| contactMedium | List of means for contacting the organization. Data type: Array of Objects "contactMedium": [ { "@type": "String", "city": "String", "country": "String", "emailAddress": "String", "locationId": "String", "mediumType": "String", "phoneNumber": "String", "postCode": "String", "preferred": "Boolean", "stateOrProvince": "String", "street1": "String", "street2": "String", "validFor": {Object} } ] |
| contactMedium.@type | Schema or subclass type of the contact medium. Possible values: * `BusinessPhoneContactMedium`: Business phone number. * `EmailContactMedium`: Email address. * `FaxPhoneContactMedium`: Fax number. * `GeographicAddressContactMedium`: Physical address. * `HomePhoneContactMedium`: Home phone number. * `PhoneContactMedium`: Mobile phone number. Data type: String |
| contactMedium.city | City of the address. Data type: String |
| contactMedium.country | Country of the address. Data type: String |
| contactMedium.emailAddress | Email address. Data type: String |
| contactMedium.locationId | Sys_id of the location record linked to the address. Table: Location \[cmn_location\] Data type: String |
| contactMedium.mediumType | Type of contact channel. Possible values: * `businessPhone`: Business phone number. * `email`: Email address. * `faxPhone`: Fax number. * `homePhone`: Home phone number. * `mobilePhone`: Mobile phone number. * `postalAddress`: Physical address. Data type: String |
| contactMedium.phoneNumber | Phone or fax number. Data type: String |
| contactMedium.postCode | Postal code of the address. Data type: String |
| contactMedium.preferred | Flag that indicates whether this is the preferred contact medium. Possible values: * `true`: Preferred contact medium. * `false`: Not the preferred contact medium. Data type: Boolean |
| contactMedium.stateOrProvince | State or province of the address. For example, `New Jersey`. Data type: String |
| contactMedium.street1 | First line of the street address. Data type: String |
| contactMedium.street2 | Second line of the street address, such as a suite or floor. Data type: String |
| contactMedium.validFor | Period during which the address is valid. Data type: Object "validFor": { "startDateTime": "String" } |
| contactMedium.validFor.startDateTime | Date and time from which the address is valid, in ISO 8601 format. For example, `2017-03-15T07:49:25.246Z`. Data type: String |
| createdDate | Date and time when the organization record was created, in ISO 8601 format. For example, `2025-06-25T14:32:18.000Z`. Data type: String |
| externalReference | List of identifiers of the organization in external systems. Data type: Array of Objects "externalReference": [ { "externalIdentifierType": "String", "id": "String" } ] |
| externalReference.externalIdentifierType | Type of external system or identifier. For example, `linkedin` or `Instagram`. Data type: String |
| externalReference.id | Identifier of the organization in the external system. Data type: String |
| href | Link to the Account record. Data type: String |
| id | Sys_id of the Account record. Table: Account \[customer_account\] Data type: String |
| lastModifiedDate | Date and time when the organization record was last modified, in ISO 8601 format. For example, `2026-11-05T10:15:42.000Z`. Data type: String |
| legalName | Legal name of the organization. Data type: String |
| name | Name of the organization. Data type: String |
| organizationChildRelationship | List of child organization relationships, such as partner, subsidiary, or branch organizations. Data type: Array of Objects "organizationChildRelationship": [ { "relationshipType": "String", "organization": {Object} } ] |
| organizationChildRelationship.organization | Details about the child organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationChildRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationChildRelationship.organization.id | Sys_id of the child organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationChildRelationship.organization.name | Display name of the child organization. Data type: String |
| organizationChildRelationship.relationshipType | Type of relationship between this organization and the child organization. For example, `Partner Account`. Data type: String |
| organizationParentRelationship | Relationship to the parent organization. Data type: Object "organizationParentRelationship": { "relationshipType": "String", "organization": {Object} } |
| organizationParentRelationship.organization | Details about the parent organization. Data type: Object "organization": { "id": "String", "name": "String", "@type": "String" } |
| organizationParentRelationship.organization.@type | Type of the organization object. Value is always `Organization`. Data type: String |
| organizationParentRelationship.organization.id | Sys_id of the parent organization record. Table: Account \[customer_account\] or Company \[core_company\] Data type: String |
| organizationParentRelationship.organization.name | Display name of the parent organization. Data type: String |
| organizationParentRelationship.relationshipType | Type of relationship between this organization and its parent. Possible values: * `Account` * `Company` * `HoldingCompany` * `ParentAccount` Data type: String |
| partyCharacteristic | List of characteristics associated with the organization. Data type: Array of Objects "partyCharacteristic": [ { "@type": "String", "name": "String", "value": "String", "valueType": "String" } ] |
| partyCharacteristic.@type | Subclass type of the characteristic. Possible values: * `BooleanCharacteristic` * `IntegerCharacteristic` * `StringArrayCharacteristic` * `StringCharacteristic` Data type: String |
| partyCharacteristic.name | Name of the characteristic. Possible values: * `accountCode` * `identificationNumber` * `industry` * `manufacturer` * `marketCap` * `notes` * `numEmployees` * `profits` * `publiclyTraded` * `rankTier` * `registrationCode` * `revenuePerYear` * `stockPrice` * `stockSymbol` * `taxId` * `vendor` * `vendorType` * `website` Data type: String |
| partyCharacteristic.value | Value of the characteristic, as a string regardless of valueType. For example, `"false"` or `"10"`. Data type: String |
| partyCharacteristic.valueType | Data type of the characteristic's value. Possible values: * `boolean` * `choice` * `integer` * `list` * `string` Data type: String |
| partyOrPartyRole | Party type, role, and account classification of the organization record. Data type: Object "partyOrPartyRole": { "@type": "String", "role": "String", "name": "String" } |
| partyOrPartyRole.@type | Type of party. Value is always `Account`. Data type: String |
| partyOrPartyRole.name | Account classification. Multiple classifications are joined with underscores. For example, `customer` or `customer_partner`. Data type: String |
| partyOrPartyRole.role | Role of the party. Value is always `Account`. Data type: String |
| relatedParty | List of contacts related to the organization. Data type: Array of Objects "relatedParty": [ { "role": "String", "partyOrPartyRole": {Object} } ] |
| relatedParty.partyOrPartyRole | Details about the related contact. Data type: Object "partyOrPartyRole": { "id": "String", "name": "String", "@type": "String" } |
| relatedParty.partyOrPartyRole.@type | Type of the related party. Value is always `Individual`. Data type: String |
| relatedParty.partyOrPartyRole.id | Sys_id of the related contact record. Table: Contact \[customer_contact\] Data type: String |
| relatedParty.partyOrPartyRole.name | Display name of the related contact. Data type: String |
| relatedParty.role | Role that the related contact plays for the organization. Possible values: * `Account` * `other`: Other contact for the organization. * `primaryContact`: Primary contact for the organization. Data type: String |
| status | Status of the organization record. Possible values: * `active`: Organization is active. * `inactive`: Organization is inactive. Data type: String |
| tradingName | Name that the organization trades under. Data type: String |
| warning | List of warning messages about parts of the request that couldn't be processed. The record is still created, but without the invalid values. Returned only when a warning occurs. Possible causes: * A relatedParty ID that doesn't match an existing record. * An invalid locationId in contactMedium. * An invalid display value for the `industry` or `rankTier` characteristic. Example: `relatedParty[0] is incorrect. User does not exist` Data type: Array of Strings |
[ ]

{#partymgmt-POST-org-v1__partymgmt-POST-org-response-table}  

### cURL request

The following example creates an Account record, creates a location from the postal address, and links an existing contact.

    curl "http://instance.service-now.com/api/sn_tmf_api/v1/party/organization" \
      --request POST \
      --header "Accept: application/json" \
      --header "Content-Type: application/json" \
      --user 'user:password' \
      --data '{
      "@type": "Account",
      "name": "SERVICENOW 144",
      "legalName": "Acme Corp Ltd.",
      "tradingName": "Acme Inc.",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Account",
        "role": "Account",
        "name": "customer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "athammhd@email.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "mobilePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "PhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "validFor": {
            "startDateTime": "2017-03-15T07:49:25.246Z"
          },
          "@type": "GeographicAddressContactMedium",
          "city": "chennai",
          "country": "INDIA",
          "postCode": "608001",
          "stateOrProvince": "tamil nadu",
          "street1": "samcon street",
          "street2": "adyar,chennai"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "Instagram",
          "id": "Instagram"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "Testing for update the notes",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "registrationCode",
          "value": "006",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "industry",
          "value": "Manufacturing",
          "valueType": "choice",
          "@type": "StringCharacteristics"
        },
        {
          "name": "taxId",
          "value": "CTNUM1000123",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "numEmployees",
          "value": "10",
          "valueType": "integer",
          "@type": "StringCharacteristics"
        },
        {
          "name": "rankTier",
          "value": "Valued Partner",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "publiclyTraded",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "vendor",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "manufacturer",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        }
      ],
      "relatedParty": [
        {
          "role": "Account",
          "partyOrPartyRole": {
            "id": "00189b324f1e0200c0adfe618110c76d",
            "name": "Crissy Stark",
            "@type": "Individual"
          }
        }
      ],
      "organizationChildRelationship": [
        {
          "relationshipType": "Partner Account",
          "organization": {
            "id": "051f62b0d7300200e5982cf65e610333",
            "name": "Spark Technologies",
            "@type": "Organization"
          }
        }
      ],
      "organizationParentRelationship": {
        "relationshipType": "Partner Account",
        "organization": {
          "id": "1b1b93da43c63110341605ed0bb8f2f4",
          "name": "Funco Intl.",
          "@type": "Organization"
        }
      }
    }'

Response body.

    {
      "id": "0fef075b2fe06a10b79db3bf42faf31c",
      "href": "http://instance.service-now.com/api/sn_tmf_api/v1/party/organization/0fef075b2fe06a10b79db3bf42faf31c",
      "@type": "Account",
      "name": "SERVICENOW 144",
      "legalName": "Acme Corp Ltd.",
      "tradingName": "Acme Inc.",
      "status": "active",
      "partyOrPartyRole": {
        "@type": "Account",
        "role": "Account",
        "name": "customer"
      },
      "contactMedium": [
        {
          "preferred": true,
          "mediumType": "email",
          "emailAddress": "athammhd@email.com",
          "@type": "EmailContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "mobilePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "PhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "businessPhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "BusinessPhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "homePhone",
          "phoneNumber": "+1-202-555-0198",
          "@type": "HomePhoneContactMedium"
        },
        {
          "preferred": false,
          "mediumType": "postalAddress",
          "validFor": {
            "startDateTime": "2017-03-15T07:49:25.246Z"
          },
          "@type": "GeographicAddressContactMedium",
          "locationId": "03e588a17be062105e0d5494548cb68c",
          "city": "chennai",
          "country": "INDIA",
          "postCode": "608001",
          "stateOrProvince": "tamil nadu",
          "street1": "samcon street",
          "street2": "adyar,chennai"
        }
      ],
      "externalReference": [
        {
          "externalIdentifierType": "Instagram",
          "id": "Instagram"
        }
      ],
      "partyCharacteristic": [
        {
          "name": "notes",
          "value": "Testing for update the notes",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "registrationCode",
          "value": "006",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "industry",
          "value": "Manufacturing",
          "valueType": "choice",
          "@type": "StringCharacteristics"
        },
        {
          "name": "taxId",
          "value": "CTNUM1000123",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "numEmployees",
          "value": "10",
          "valueType": "integer",
          "@type": "StringCharacteristics"
        },
        {
          "name": "rankTier",
          "value": "Valued Partner",
          "valueType": "string",
          "@type": "StringCharacteristics"
        },
        {
          "name": "publiclyTraded",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "vendor",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        },
        {
          "name": "manufacturer",
          "value": "false",
          "valueType": "boolean",
          "@type": "StringCharacteristics"
        }
      ],
      "relatedParty": [
        {
          "role": "Account",
          "partyOrPartyRole": {
            "id": "00189b324f1e0200c0adfe618110c76d",
            "name": "Crissy Stark",
            "@type": "Individual"
          }
        }
      ],
      "organizationChildRelationship": [
        {
          "relationshipType": "Partner Account",
          "organization": {
            "id": "051f62b0d7300200e5982cf65e610333",
            "name": "Spark Technologies",
            "@type": "Organization"
          }
        }
      ],
      "organizationParentRelationship": {
        "relationshipType": "Partner Account",
        "organization": {
          "id": "1b1b93da43c63110341605ed0bb8f2f4",
          "name": "Funco Intl.",
          "@type": "Organization"
        }
      },
      "createdDate": "2025-06-25T14:32:18.000Z",
      "lastModifiedDate": "2025-06-25T14:32:18.000Z"
    }


