POST api/Escrevente/AdicionarEscreventeDoLivro
Request Information
URI Parameters
None.
Body Parameters
EscreventeDoLivroViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Livro | integer |
None. |
|
| FolhaInicial | integer |
None. |
|
| FolhaFinal | integer |
None. |
|
| EscreventeID | globally unique identifier |
None. |
|
| Escrevente | Escrevente |
None. |
|
| ID | globally unique identifier |
None. |
|
| ValidationResult | ValidationResult |
None. |
Request Formats
application/json, text/json
Sample:
{
"Livro": 1,
"FolhaInicial": 2,
"FolhaFinal": 3,
"EscreventeID": "672e9f25-6e28-4cdf-b785-43789429963b",
"Escrevente": null,
"ID": "22c61d34-0826-43df-943b-4e4c9ad32638",
"ValidationResult": {
"IsOK": true,
"Erros": [
"sample string 1",
"sample string 2"
],
"MessageSuccess": "sample string 2"
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
EscreventeDoLivroViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Livro | integer |
None. |
|
| FolhaInicial | integer |
None. |
|
| FolhaFinal | integer |
None. |
|
| EscreventeID | globally unique identifier |
None. |
|
| Escrevente | Escrevente |
None. |
|
| ID | globally unique identifier |
None. |
|
| ValidationResult | ValidationResult |
None. |
Response Formats
application/json, text/json
Sample:
{
"Livro": 1,
"FolhaInicial": 2,
"FolhaFinal": 3,
"EscreventeID": "660f7568-b69f-4922-989f-769bccf5d6b7",
"Escrevente": null,
"ID": "6d97fbab-c048-4925-9a38-e2668699a9b1",
"ValidationResult": {
"IsOK": true,
"Erros": [
"sample string 1",
"sample string 2"
],
"MessageSuccess": "sample string 2"
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.