Next Topic

Previous Topic

Book Contents

Add Organization

Adds a single organization record.

POST /system/orgs

Headers

Model Schema

Field

Datatype

Filterable

Sortable

OrgId

decimal

 

OrgName

string

OrgRef

string

OrgType

string

 

DefaultDepartmentName

string

 

 

DefaultMachineGroupName

string

 

ParentOrgId

decimal

 

Website

string

 

 

NoOfEmployees

int

AnnualRevenue

decimal

ContactInfo

(see below)

 

CustomFields

(see below)

 

 

Attributes

object

 

 

 

 

ContactInfo

 

 

 

PreferredContactMethod

string

 

 

PrimaryPhone

string

 

 

PrimaryFax

string

 

 

PrimaryEmail

string

 

 

Country

string

 

 

Street

string

 

 

City

string

 

 

State

string

 

 

ZipCode

string

 

 

PrimaryTextMessagePhone

string

 

 

 

 

 

 

CustomFields

 

 

 

FieldName

string

 

 

FieldValue

string

 

 

Sample Request Model

    {
      "OrgId": 0,
      "OrgName": "string",
      "OrgRef": "string",
      "OrgType": "string",
      "DefaultDepartmentName": "string",
      "DefaultMachineGroupName": "string",
      "ParentOrgId": 0,
      "Website": "string",
      "NoOfEmployees": 0,
      "AnnualRevenue": 0,
      "ContactInfo": {
        "PreferredContactMethod": "string",
        "PrimaryPhone": "string",
        "PrimaryFax": "string",
        "PrimaryEmail": "string",
        "Country": "string",
        "Street": "string",
        "City": "string",
        "State": "string",
        "ZipCode": "string",
        "PrimaryTextMessagePhone": "string"
      },
      "CustomFields": [
        {
          "FieldName": "string",
          "FieldValue": "string"
        }
      ],
      "Attributes": {}
    }