Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties
idapi_docs_companies_actions


NameCompanies / Create
DescriptionCreate one or more Companies.
TypePOST
URL/v9/companies
Credential TypeAPI


Long Description

Create one or more Companies for your brokerage. Note that this takes an array of Companies even if only creating one.

Parameters

Name
Description
Type
Presence
LocationOther
nameName of the CompanyStringRequiredBody 

 

Examples

RequestResponse
POST /v9/companies 


Code Block
languagejs
theme
Confluence
RDark
language
linenumbers
js
true
{
  "companies": [
    {
      "name": "
Moe’s
The 
Tavern
Leftorium"
    }
  ]
}



Code Block
languagejs
theme
Confluence
RDark
language
linenumbers
js
true
{
  "
name
current_page": 
"Moe’s Tavern",
1,
  "per_page": 100,
  "total_entries": 1,
  "companies": [
    {
      "updated_at": "
2014
2017-
08
12-
08T21
19T19:
50
33:
26Z
25Z",
      "
url
name": "
/companies/8052
The Leftorium",
      "id": 11228,
      "url": "
8052"
/companies/11228"
    }
  ]
}