In this article
Post New Org Object (Deprecated)
Consumes
application/jsontext/jsonapplication/json-patch+json
URL
https://{{HOST}}/timeseries/org
Method
POST
Required IMS Scopes
- Read
- Write
Versions Supported
v >= 2.0
URL Query Parameters
| Name | Description | Example | Type |
|---|---|---|---|
| $query optional |
Query to get specific results | /endpoint/?$query | None |
| v optional |
Version of the API to use | v=2.0 | string |
Request Header Parameters
| Type | Value | Description |
|---|---|---|
| Authentication | Bearer {access_token} required |
Retrieve access token |
| Content-Type | application/json required |
Description |
Request Body Parameters
| Name | Description | Type | |
|---|---|---|---|
| Object Name required |
Description | object definition | |
| Body | org optional |
The Org object that you want to post. The model of the object is similar to the example shown above. | Org |
Example
Request
Curl Example Request
Response
{
"id": "fakeOrg",
"orgId": "fakeOrg",
"timeseriesIdList": [
"timeseriesId1",
"timeseriesId2"
]
}
Errors
| Error | Description |
|---|---|
| Error Name | Description of Error |
Response Body Parameters
| Name | Description | Schema |
|---|---|---|
| Object Name | Description | object definition |
| id | Description | object definition |
| orgId | Description | object definition |
| timeseriesIdList | Description | object definition |