POST api/Deployment

Request Information

URI Parameters

None.

Body Parameters

Deployment
NameDescriptionTypeAdditional information
Id

integer

None.

ParentId

integer

None.

ClientId

globally unique identifier

None.

Schedule

date

None.

BuildNumber

integer

None.

CreatedBy

integer

None.

CreatedAt

date

None.

StatusId

Status

None.

StatusDescription

string

None.

ReleaseTags

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ParentId": 2,
  "ClientId": "8442605a-6553-476b-b070-ef58d4503be9",
  "Schedule": "2025-12-25T15:51:32.3760622+00:00",
  "BuildNumber": 5,
  "CreatedBy": 6,
  "CreatedAt": "2025-12-25T15:51:32.3760622+00:00",
  "StatusId": 0,
  "StatusDescription": "Scheduled",
  "ReleaseTags": "sample string 8"
}

text/html

Sample:
{"Id":1,"ParentId":2,"ClientId":"8442605a-6553-476b-b070-ef58d4503be9","Schedule":"2025-12-25T15:51:32.3760622+00:00","BuildNumber":5,"CreatedBy":6,"CreatedAt":"2025-12-25T15:51:32.3760622+00:00","StatusId":0,"StatusDescription":"Scheduled","ReleaseTags":"sample string 8"}

application/xml, text/xml

Sample:
<Deployment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KnowledgeBase.Deployments">
  <BuildNumber>5</BuildNumber>
  <ClientId>8442605a-6553-476b-b070-ef58d4503be9</ClientId>
  <CreatedAt>2025-12-25T15:51:32.3760622+00:00</CreatedAt>
  <CreatedBy>6</CreatedBy>
  <Id>1</Id>
  <ParentId>2</ParentId>
  <ReleaseTags>sample string 8</ReleaseTags>
  <Schedule>2025-12-25T15:51:32.3760622+00:00</Schedule>
  <StatusId>Scheduled</StatusId>
</Deployment>

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 'Deployment'.

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.