POST api/v1/Program?companyID={companyID}&authKey={authKey}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| companyID | integer |
Required |
|
| authKey | string |
Required |
Body Parameters
Program| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| DisplayName | string |
None. |
|
| FullPath | string |
None. |
|
| Arguments | string |
None. |
|
| CompanyID | integer |
None. |
|
| ImagePath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"DisplayName": "sample string 2",
"FullPath": "sample string 3",
"Arguments": "sample string 4",
"CompanyID": 1,
"ImagePath": "sample string 5"
}
text/xml
Sample:
<Program xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PlanetLauncherAPI.Models"> <Arguments>sample string 4</Arguments> <CompanyID>1</CompanyID> <DisplayName>sample string 2</DisplayName> <FullPath>sample string 3</FullPath> <ID>1</ID> <ImagePath>sample string 5</ImagePath> </Program>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |