POST api/extra/deployment

Request Information

URI Parameters

None.

Body Parameters

Deployment
NameDescriptionTypeAdditional information
Location

string

None.

WarehouseCode

string

None.

StockConfigurations

Collection of Object

None.

Id

string

None.

UserTableFields

Collection of Object

None.

CreationUser

string

None.

Request Formats

application/json, text/json

Sample:
{
  "location": "sample string 1",
  "warehouseCode": "sample string 2",
  "stockConfigurations": [],
  "id": "sample string 4",
  "userTableFields": null,
  "creationUser": "sample string 5"
}

application/xml, text/xml

Sample:
<Deployment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Extra.Collectors.Storage">
  <CreationUser xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common">sample string 5</CreationUser>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common">sample string 4</Id>
  <UserTableFields i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common" />
  <Location>sample string 1</Location>
  <StockConfigurations />
  <WarehouseCode>sample string 2</WarehouseCode>
</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

ProcessDone
NameDescriptionTypeAdditional information
DoneOK

boolean

None.

Finished

boolean

None.

Message

string

None.

Id

string

None.

Response Formats

application/json, text/json

Sample:
{
  "doneOK": true,
  "finished": true,
  "message": "sample string 3",
  "id": "sample string 4"
}

application/xml, text/xml

Sample:
<ProcessDone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common">
  <DoneOK>true</DoneOK>
  <Finished>true</Finished>
  <Id>sample string 4</Id>
  <Message>sample string 3</Message>
</ProcessDone>