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": "c894993e-ba32-4ce5-8d01-9ae9058d5db8",
"Paterno": "sample string 2",
"Materno": "sample string 3",
"Nombre": "sample string 4",
"Telefono": {
"$id": "3",
"$values": [
{
"$id": "4",
"idTelefono": "c7b711f5-17a0-44b4-87d3-afe0a8acd305",
"idTipoTelefono": "0b489021-b623-40c4-a696-56319a2356b9",
"numTelefono": "sample string 3",
"numExtension": "sample string 4",
"TipoTelefono": {
"$id": "5",
"idTipoTelefono": "3de798bb-5411-4644-a6a3-8c2886c5a79c",
"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": "dc5c622f-e45a-4ea4-a1d4-3094d4e7ea1b",
"mail1": "sample string 2",
"idTipoMail": "8d90aaf0-341c-4177-b9d1-28d0320cb758",
"Contacto": {
"$id": "10",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"TipoMail": {
"$id": "11",
"idTipoMail": "d2a19ffc-a1af-49b4-8e00-d3c6fd432f5e",
"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.