POST api/v1/Program?companyID={companyID}&authKey={authKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companyID

integer

Required

authKey

string

Required

Body Parameters

Program
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Program'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.