POST api/v1/Jokes/AddEditWriiter
Request Information
URI Parameters
None.
Body Parameters
WRITER| Name | Description | Type | Additional information |
|---|---|---|---|
| WRITER_ID | integer |
None. |
|
| NAME | string |
None. |
|
| BIO | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"WRITER_ID": 1,
"NAME": "sample string 2",
"BIO": "sample string 3"
}
text/html
Sample:
{"WRITER_ID":1,"NAME":"sample string 2","BIO":"sample string 3"}
application/xml, text/xml
Sample:
<WRITER xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartWorldLibrary.Repository.DB"> <BIO>sample string 3</BIO> <NAME>sample string 2</NAME> <WRITER_ID>1</WRITER_ID> </WRITER>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.