POST api/Master
Request Information
URI Parameters
None.
Body Parameters
DTOnewcustomer| Name | Description | Type | Additional information |
|---|---|---|---|
| mobileno | string |
None. |
|
| accountname | string |
None. |
|
| printname | string |
None. |
|
| string |
None. |
||
| gstin | string |
None. |
|
| gststate | string |
None. |
|
| country | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"mobileno": "sample string 1",
"accountname": "sample string 2",
"printname": "sample string 3",
"email": "sample string 4",
"gstin": "sample string 5",
"gststate": "sample string 6",
"country": "sample string 7"
}
application/xml, text/xml
Sample:
<DTOnewcustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <accountname>sample string 2</accountname> <country>sample string 7</country> <email>sample string 4</email> <gstin>sample string 5</gstin> <gststate>sample string 6</gststate> <mobileno>sample string 1</mobileno> <printname>sample string 3</printname> </DTOnewcustomer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
rtnMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| result | boolean |
None. |
|
| message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": true,
"message": "sample string 2"
}
application/xml, text/xml
Sample:
<rtnMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/apiAndroid.Controllers"> <message>sample string 2</message> <result>true</result> </rtnMessage>