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": "392a80bb-cd56-49ec-85aa-07382bec663c",
"Paterno": "sample string 2",
"Materno": "sample string 3",
"Nombre": "sample string 4",
"Telefono": {
"$id": "3",
"$values": [
{
"$id": "4",
"idTelefono": "655c0ae8-e9c4-409d-b4d3-e332ffc25004",
"idTipoTelefono": "8f18c606-21df-4f74-8737-a07754cecc75",
"numTelefono": "sample string 3",
"numExtension": "sample string 4",
"TipoTelefono": {
"$id": "5",
"idTipoTelefono": "9a03ba8a-dd8b-40fc-900c-5483585f8587",
"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": "35193ede-4b70-441d-a850-0522d04aa17d",
"mail1": "sample string 2",
"idTipoMail": "bc4e80a9-209d-400d-93dd-2b51bab7b49e",
"Contacto": {
"$id": "10",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"TipoMail": {
"$id": "11",
"idTipoMail": "e5c1c565-be4d-4e1e-9f98-391374da60cd",
"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.