POST api/TerrestreSociosNegocio
Alta socio de negocio
Request Information
URI Parameters
None.
Body Parameters
TE_SocioNegocio| Name | Description | Type | Additional information |
|---|---|---|---|
| ID_SOCIO_NEGOCIO |
. |
integer |
None. |
| NOMBRE |
. |
string |
Required String length: inclusive between 0 and 100 |
| razonSocial |
. |
string |
Required String length: inclusive between 0 and 100 |
| DIRECCION |
. |
string |
String length: inclusive between 0 and 100 |
| ID_TIPO_DOCUMENTO |
. |
API-TipoDocumento |
None. |
| DOCUMENTO |
. |
string |
String length: inclusive between 0 and 13 |
| FECHA_ALTA |
. |
date |
None. |
| USUARIO_ALTA |
. |
integer |
None. |
| FECHA_MOD |
. |
date |
None. |
| USUARIO_MODIFICACION |
. |
integer |
None. |
| TELEFONO |
. |
string |
String length: inclusive between 0 and 30 |
| MAIL1 |
. |
string |
Matching regular expression pattern: ^([^\s,;]+@[^\s,;]+\.[^\s,;]+[,;])*([^\s,;]+@[^\s,;]+\.[^\s,;]+)$ String length: inclusive between 0 and 500 |
| MAIL2 |
. |
string |
String length: inclusive between 0 and 100 |
| CardCodeSAP |
. |
string |
String length: inclusive between 0 and 6 |
| COMENTARIOS |
. |
string |
Max length: 250 |
| CONTACTO |
. |
string |
None. |
| Es_Agente |
. |
boolean |
None. |
| Es_Consignee |
. |
boolean |
None. |
| Es_Shipper |
. |
boolean |
None. |
| ID_SOCIO_NEGOCIO_PADRE |
. |
integer |
None. |
| Percepcion |
. |
decimal number |
None. |
| Activo |
. |
boolean |
None. |
| Transportista |
. |
boolean |
None. |
| TipoVenta |
. |
boolean |
None. |
| ID_TIPO_SOCIO_NEGOCIO |
. |
EnumTipoSocioDeNegocio |
Required |
Request Formats
application/json, text/json
{
"ID_SOCIO_NEGOCIO": 1,
"NOMBRE": "sample string 2",
"razonSocial": "sample string 3",
"DIRECCION": "sample string 4",
"ID_TIPO_DOCUMENTO": 0,
"DOCUMENTO": "sample string 5",
"FECHA_ALTA": "2025-12-06T01:33:29.511667-03:00",
"USUARIO_ALTA": 7,
"FECHA_MOD": "2025-12-06T01:33:29.511667-03:00",
"USUARIO_MODIFICACION": 1,
"TELEFONO": "sample string 8",
"MAIL1": "sample string 9",
"MAIL2": "sample string 10",
"CardCodeSAP": "sample string 11",
"COMENTARIOS": "sample string 12",
"CONTACTO": "sample string 13",
"Es_Agente": true,
"Es_Consignee": true,
"Es_Shipper": true,
"ID_SOCIO_NEGOCIO_PADRE": 1,
"Percepcion": 17.1,
"Activo": true,
"Transportista": true,
"TipoVenta": true,
"ID_TIPO_SOCIO_NEGOCIO": 1
}
application/xml, text/xml
<SocioNegocio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClimberApi.Models.Terrestre"> <Activo>true</Activo> <COMENTARIOS>sample string 12</COMENTARIOS> <CONTACTO>sample string 13</CONTACTO> <CardCodeSAP>sample string 11</CardCodeSAP> <DIRECCION>sample string 4</DIRECCION> <DOCUMENTO>sample string 5</DOCUMENTO> <Es_Agente>true</Es_Agente> <Es_Consignee>true</Es_Consignee> <Es_Shipper>true</Es_Shipper> <FECHA_ALTA>2025-12-06T01:33:29.511667-03:00</FECHA_ALTA> <FECHA_MOD>2025-12-06T01:33:29.511667-03:00</FECHA_MOD> <ID_SOCIO_NEGOCIO>1</ID_SOCIO_NEGOCIO> <ID_SOCIO_NEGOCIO_PADRE>1</ID_SOCIO_NEGOCIO_PADRE> <ID_TIPO_DOCUMENTO>DNI</ID_TIPO_DOCUMENTO> <ID_TIPO_SOCIO_NEGOCIO>Cliente</ID_TIPO_SOCIO_NEGOCIO> <MAIL1>sample string 9</MAIL1> <MAIL2>sample string 10</MAIL2> <NOMBRE>sample string 2</NOMBRE> <Percepcion>17.1</Percepcion> <TELEFONO>sample string 8</TELEFONO> <TipoVenta>true</TipoVenta> <Transportista>true</Transportista> <USUARIO_ALTA>7</USUARIO_ALTA> <USUARIO_MODIFICACION>1</USUARIO_MODIFICACION> <razonSocial>sample string 3</razonSocial> </SocioNegocio>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
TE_SocioNegocio| Name | Description | Type | Additional information |
|---|---|---|---|
| ID_SOCIO_NEGOCIO |
. |
integer |
None. |
| NOMBRE |
. |
string |
Required String length: inclusive between 0 and 100 |
| razonSocial |
. |
string |
Required String length: inclusive between 0 and 100 |
| DIRECCION |
. |
string |
String length: inclusive between 0 and 100 |
| ID_TIPO_DOCUMENTO |
. |
API-TipoDocumento |
None. |
| DOCUMENTO |
. |
string |
String length: inclusive between 0 and 13 |
| FECHA_ALTA |
. |
date |
None. |
| USUARIO_ALTA |
. |
integer |
None. |
| FECHA_MOD |
. |
date |
None. |
| USUARIO_MODIFICACION |
. |
integer |
None. |
| TELEFONO |
. |
string |
String length: inclusive between 0 and 30 |
| MAIL1 |
. |
string |
Matching regular expression pattern: ^([^\s,;]+@[^\s,;]+\.[^\s,;]+[,;])*([^\s,;]+@[^\s,;]+\.[^\s,;]+)$ String length: inclusive between 0 and 500 |
| MAIL2 |
. |
string |
String length: inclusive between 0 and 100 |
| CardCodeSAP |
. |
string |
String length: inclusive between 0 and 6 |
| COMENTARIOS |
. |
string |
Max length: 250 |
| CONTACTO |
. |
string |
None. |
| Es_Agente |
. |
boolean |
None. |
| Es_Consignee |
. |
boolean |
None. |
| Es_Shipper |
. |
boolean |
None. |
| ID_SOCIO_NEGOCIO_PADRE |
. |
integer |
None. |
| Percepcion |
. |
decimal number |
None. |
| Activo |
. |
boolean |
None. |
| Transportista |
. |
boolean |
None. |
| TipoVenta |
. |
boolean |
None. |
| ID_TIPO_SOCIO_NEGOCIO |
. |
EnumTipoSocioDeNegocio |
Required |
Response Formats
application/json, text/json
{
"ID_SOCIO_NEGOCIO": 1,
"NOMBRE": "sample string 2",
"razonSocial": "sample string 3",
"DIRECCION": "sample string 4",
"ID_TIPO_DOCUMENTO": 0,
"DOCUMENTO": "sample string 5",
"FECHA_ALTA": "2025-12-06T01:33:29.511667-03:00",
"USUARIO_ALTA": 7,
"FECHA_MOD": "2025-12-06T01:33:29.511667-03:00",
"USUARIO_MODIFICACION": 1,
"TELEFONO": "sample string 8",
"MAIL1": "sample string 9",
"MAIL2": "sample string 10",
"CardCodeSAP": "sample string 11",
"COMENTARIOS": "sample string 12",
"CONTACTO": "sample string 13",
"Es_Agente": true,
"Es_Consignee": true,
"Es_Shipper": true,
"ID_SOCIO_NEGOCIO_PADRE": 1,
"Percepcion": 17.1,
"Activo": true,
"Transportista": true,
"TipoVenta": true,
"ID_TIPO_SOCIO_NEGOCIO": 1
}
application/xml, text/xml
<SocioNegocio xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClimberApi.Models.Terrestre"> <Activo>true</Activo> <COMENTARIOS>sample string 12</COMENTARIOS> <CONTACTO>sample string 13</CONTACTO> <CardCodeSAP>sample string 11</CardCodeSAP> <DIRECCION>sample string 4</DIRECCION> <DOCUMENTO>sample string 5</DOCUMENTO> <Es_Agente>true</Es_Agente> <Es_Consignee>true</Es_Consignee> <Es_Shipper>true</Es_Shipper> <FECHA_ALTA>2025-12-06T01:33:29.511667-03:00</FECHA_ALTA> <FECHA_MOD>2025-12-06T01:33:29.511667-03:00</FECHA_MOD> <ID_SOCIO_NEGOCIO>1</ID_SOCIO_NEGOCIO> <ID_SOCIO_NEGOCIO_PADRE>1</ID_SOCIO_NEGOCIO_PADRE> <ID_TIPO_DOCUMENTO>DNI</ID_TIPO_DOCUMENTO> <ID_TIPO_SOCIO_NEGOCIO>Cliente</ID_TIPO_SOCIO_NEGOCIO> <MAIL1>sample string 9</MAIL1> <MAIL2>sample string 10</MAIL2> <NOMBRE>sample string 2</NOMBRE> <Percepcion>17.1</Percepcion> <TELEFONO>sample string 8</TELEFONO> <TipoVenta>true</TipoVenta> <Transportista>true</Transportista> <USUARIO_ALTA>7</USUARIO_ALTA> <USUARIO_MODIFICACION>1</USUARIO_MODIFICACION> <razonSocial>sample string 3</razonSocial> </SocioNegocio>