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": "6764a657-93ed-41f6-8bf5-3366a41c4ddb",
"Paterno": "sample string 2",
"Materno": "sample string 3",
"Nombre": "sample string 4",
"Telefono": {
"$id": "3",
"$values": [
{
"$id": "4",
"idTelefono": "7e7b9d14-0613-4713-bade-12e60f20195f",
"idTipoTelefono": "b77b954f-fa36-4925-baec-0fe65e55c356",
"numTelefono": "sample string 3",
"numExtension": "sample string 4",
"TipoTelefono": {
"$id": "5",
"idTipoTelefono": "a3042e7f-61dc-4560-b47a-c29bfabac132",
"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": "9ebed33b-dedb-4d85-8f39-2a6286815893",
"mail1": "sample string 2",
"idTipoMail": "b0f64719-bd66-437a-be10-a76b70c7795e",
"Contacto": {
"$id": "10",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"TipoMail": {
"$id": "11",
"idTipoMail": "5466407b-70c8-4d42-9ded-631f214ef262",
"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.