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": "4dbb65f3-5123-4800-9742-ebfcf39eb2a5",
"Escrevente": null,
"ID": "782fdd28-7730-42e0-9927-5ce29f64b682",
"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": "f5df8398-0a0a-4c9d-8cf5-ca415159433a",
"Escrevente": null,
"ID": "a757c7f6-9247-4ed9-bc8c-4108f15509b9",
"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.