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": "2aba8498-a6bf-42cd-ac11-b51bf8ef8bd2",
"Escrevente": null,
"ID": "9126ceda-f1a2-41ea-afc5-6d5e9548baf5",
"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": "b1bfdbb2-d2e3-49d8-8e78-b1c6f52aaf74",
"Escrevente": null,
"ID": "9d02a108-ca17-410b-89dd-806f026877f8",
"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.