POST api/PostContacto
Request Information
URI Parameters
None.
Body Parameters
Collection of Contacto| Name | Description | Type | Additional information |
|---|---|---|---|
| idContacto | globally unique identifier |
None. |
|
| Paterno | string |
None. |
|
| Materno | string |
None. |
|
| Nombre | string |
None. |
|
| Telefono | Collection of Telefono |
None. |
|
| Collection of Mail |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"$id": "2",
"idContacto": "8b92957f-ca02-449e-a7df-e6916eeb0b63",
"Paterno": "sample string 2",
"Materno": "sample string 3",
"Nombre": "sample string 4",
"Telefono": {
"$id": "3",
"$values": [
{
"$id": "4",
"idTelefono": "20c1891f-60d7-490d-88e9-5553115b6835",
"idTipoTelefono": "17579586-213f-4da1-b39c-652fd247ba5a",
"numTelefono": "sample string 3",
"numExtension": "sample string 4",
"TipoTelefono": {
"$id": "5",
"idTipoTelefono": "8a32b113-3a73-4cd6-a171-bc6e12f2842c",
"nomTipoTelefono": "sample string 2",
"Telefono": {
"$id": "6",
"$values": [
{
"$ref": "4"
},
{
"$ref": "4"
}
]
}
},
"Contacto": {
"$id": "7",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
}
},
{
"$ref": "4"
}
]
},
"Mail": {
"$id": "8",
"$values": [
{
"$id": "9",
"idMail": "f1670cf9-3507-4cee-a04f-8859769e083d",
"mail1": "sample string 2",
"idTipoMail": "0df91e17-22d8-4fb0-b959-eb468dddb6fb",
"Contacto": {
"$id": "10",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"TipoMail": {
"$id": "11",
"idTipoMail": "7c7c62ed-1dd2-4374-b7e1-7cdf52d08705",
"nomTipoMail": "sample string 2",
"Mail": {
"$id": "12",
"$values": [
{
"$ref": "9"
},
{
"$ref": "9"
}
]
}
}
},
{
"$ref": "9"
}
]
}
},
{
"$ref": "2"
}
]
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.