POST api/Authors
Request Information
URI Parameters
None.
Body Parameters
AuthorName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
NumId | integer |
None. |
|
AuthorName | string |
None. |
|
MobileNo | string |
None. |
|
EmailId | string |
None. |
|
Content | string |
None. |
|
Image | string |
None. |
|
Index | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "NumId": 2, "AuthorName": "sample string 3", "MobileNo": "sample string 4", "EmailId": "sample string 5", "Content": "sample string 6", "Image": "sample string 7", "Index": 8 }
application/xml, text/xml
Sample:
<Author xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models"> <AuthorName>sample string 3</AuthorName> <Content>sample string 6</Content> <EmailId>sample string 5</EmailId> <Id>sample string 1</Id> <Image>sample string 7</Image> <Index>8</Index> <MobileNo>sample string 4</MobileNo> <NumId>2</NumId> </Author>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AuthorName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
NumId | integer |
None. |
|
AuthorName | string |
None. |
|
MobileNo | string |
None. |
|
EmailId | string |
None. |
|
Content | string |
None. |
|
Image | string |
None. |
|
Index | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "NumId": 2, "AuthorName": "sample string 3", "MobileNo": "sample string 4", "EmailId": "sample string 5", "Content": "sample string 6", "Image": "sample string 7", "Index": 8 }
application/xml, text/xml
Sample:
<Author xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models"> <AuthorName>sample string 3</AuthorName> <Content>sample string 6</Content> <EmailId>sample string 5</EmailId> <Id>sample string 1</Id> <Image>sample string 7</Image> <Index>8</Index> <MobileNo>sample string 4</MobileNo> <NumId>2</NumId> </Author>