POST API/AssociacaoDepotBooking/SalvarDepotDefaultArmador
SalvarDepotDefaultArmador
Request Information
URI Parameters
None.
Body Parameters
Collection of WilsonSons.Terminais.WSNegocio.API.Models.ArmadorDepot| Name | Description | Type | Additional information |
|---|---|---|---|
| ArmadorId | decimal number |
None. |
|
| DepotId | decimal number |
None. |
|
| ArmadorNome | string |
None. |
|
| DepotNome | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ArmadorId": 1.0,
"DepotId": 1.0,
"ArmadorNome": "sample string 1",
"DepotNome": "sample string 2"
},
{
"ArmadorId": 1.0,
"DepotId": 1.0,
"ArmadorNome": "sample string 1",
"DepotNome": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfArmadorDepot xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.API.Models">
<ArmadorDepot>
<ArmadorId>1</ArmadorId>
<ArmadorNome>sample string 1</ArmadorNome>
<DepotId>1</DepotId>
<DepotNome>sample string 2</DepotNome>
</ArmadorDepot>
<ArmadorDepot>
<ArmadorId>1</ArmadorId>
<ArmadorNome>sample string 1</ArmadorNome>
<DepotId>1</DepotId>
<DepotNome>sample string 2</DepotNome>
</ArmadorDepot>
</ArrayOfArmadorDepot>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
WilsonSons.Terminais.WSNegocio.Negocio.Core.AssociacaoDepotBooking+Result| Name | Description | Type | Additional information |
|---|---|---|---|
| MensagemErro | string |
None. |
|
| Sucesso | boolean |
None. |
|
| qtdLiberada | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"MensagemErro": "sample string 1",
"Sucesso": true,
"qtdLiberada": 3.0
}
application/xml, text/xml
Sample:
<AssociacaoDepotBooking.Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WilsonSons.Terminais.WSNegocio.Negocio.Core"> <MensagemErro>sample string 1</MensagemErro> <Sucesso>true</Sucesso> <qtdLiberada>3</qtdLiberada> </AssociacaoDepotBooking.Result>