POST api/Escrevente/AtualizarEscreventeDoLivro
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": "bc59d6a6-0962-4999-908f-524721980427",
"Escrevente": null,
"ID": "9bc8799f-68d2-4f6c-a5e8-e05a9ea61d0a",
"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": "95feb359-1631-49ff-a5ef-0b755b16afd1",
"Escrevente": null,
"ID": "a9bf2011-01fc-43f1-acf2-d10d5fa76fcb",
"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.