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": "2ee77e9c-7c5d-4cf9-b7fb-44c8653c4d05",
"Paterno": "sample string 2",
"Materno": "sample string 3",
"Nombre": "sample string 4",
"Telefono": {
"$id": "3",
"$values": [
{
"$id": "4",
"idTelefono": "d6fa8caf-4116-4144-a11d-b5303f5a96c3",
"idTipoTelefono": "4bbe2444-d142-41b5-a021-181e1ad30fb9",
"numTelefono": "sample string 3",
"numExtension": "sample string 4",
"TipoTelefono": {
"$id": "5",
"idTipoTelefono": "47b57b7b-8944-434d-aab6-cc3485758a01",
"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": "0004c9e3-edaf-4626-bf0b-64f37053a1c7",
"mail1": "sample string 2",
"idTipoMail": "7e4db9a3-03b4-4889-a1ed-2a699fd2ce2e",
"Contacto": {
"$id": "10",
"$values": [
{
"$ref": "2"
},
{
"$ref": "2"
}
]
},
"TipoMail": {
"$id": "11",
"idTipoMail": "4bfa9890-52be-4d87-979a-407da21d6574",
"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.