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": "cfd5e736-b0a5-4744-8f96-46e36ecb3f8d",
"Escrevente": null,
"ID": "9aecdb75-ced8-4e5d-b4eb-0cf31c515ad3",
"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": "b6dd6b5f-4d39-4e63-ae7c-c390e4897f8a",
"Escrevente": null,
"ID": "f9f86fa5-12f1-4bd6-ba44-a760c7d665ee",
"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.