POST api/NvoccSociosNegocios/AddSocioNegocio
Alta socio de negocio
Request Information
URI Parameters
None.
Body Parameters
SocNegocio| Name | Description | Type | Additional information |
|---|---|---|---|
| IdSocioNegocio |
. |
integer |
None. |
| Nombre |
. |
string |
None. |
| TipoDocumento |
. |
API-TipoDocumento |
None. |
| Documento |
. |
string |
None. |
| Telefono |
. |
string |
None. |
|
. |
string |
None. |
|
| Comentarios |
. |
string |
None. |
| EsShipper |
. |
boolean |
None. |
| EsConsignee |
. |
boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"IdSocioNegocio": 1,
"Nombre": "sample string 2",
"TipoDocumento": 0,
"Documento": "sample string 3",
"Telefono": "sample string 4",
"Email": "sample string 5",
"Comentarios": "sample string 6",
"EsShipper": true,
"EsConsignee": true
}
application/xml, text/xml
Sample:
<SocNegocio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClimberApi.ViewModel"> <Comentarios>sample string 6</Comentarios> <Documento>sample string 3</Documento> <Email>sample string 5</Email> <EsConsignee>true</EsConsignee> <EsShipper>true</EsShipper> <IdSocioNegocio>1</IdSocioNegocio> <Nombre>sample string 2</Nombre> <Telefono>sample string 4</Telefono> <TipoDocumento>DNI</TipoDocumento> </SocNegocio>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Success |
. |
boolean |
None. |
| Message |
. |
string |
None. |
| Result |
. |
Object |
None. |
| ResultList |
. |
Collection of Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Message": "sample string 2",
"Result": {},
"ResultList": [
{},
{}
]
}
application/xml, text/xml
Sample:
<ApiResponseOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClimberApi.Models">
<Message>sample string 2</Message>
<Result />
<ResultList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</ResultList>
<Success>true</Success>
</ApiResponseOfanyType>