Page Aide

POST Emplacements

Logo

URI Parameters

None.

Body Parameters

EmplacementRequestModel
NameDescriptionTypeAdditional information
Dossier

string

Required

Depot

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Dossier": "sample string 1",
  "Depot": "sample string 2"
}

text/plain

Sample:
{"Dossier":"sample string 1","Depot":"sample string 2"}

application/xml, text/xml

Sample:
<EmplacementRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIERP.Models">
  <Depot>sample string 2</Depot>
  <Dossier>sample string 1</Dossier>
</EmplacementRequestModel>

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

Response Information

Collection of EmplacementModel
NameDescriptionTypeAdditional information
Code

string

Required

Nom

string

Required

Response Formats

application/json, text/json

Sample:
[
  {
    "Code": "sample string 1",
    "Nom": "sample string 2"
  },
  {
    "Code": "sample string 1",
    "Nom": "sample string 2"
  }
]

text/plain

Sample:
[{"Code":"sample string 1","Nom":"sample string 2"},{"Code":"sample string 1","Nom":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfEmplacementModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APIERP.Models">
  <EmplacementModel>
    <Code>sample string 1</Code>
    <Nom>sample string 2</Nom>
  </EmplacementModel>
  <EmplacementModel>
    <Code>sample string 1</Code>
    <Nom>sample string 2</Nom>
  </EmplacementModel>
</ArrayOfEmplacementModel>