POST api/ServiceMaster
Request Information
URI Parameters
None.
Body Parameters
ServiceMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| MID | integer |
Required |
|
| SERVICE_CODE | string |
Required Max length: 12 |
|
| DESCRIPTION | string |
Required Max length: 30 |
|
| ACCODE | string |
Required Max length: 6 |
|
| SERVICEAMOUNT | decimal number |
None. |
|
| SM_BRANCHCODE | string |
Max length: 6 |
|
| FILTERVOCTYPE | string |
Max length: 3 |
|
| PURCHASE_GST | string |
Required Max length: 6 |
|
| SALES_GST | string |
Required Max length: 6 |
|
| BRANCH_TRANSFER_GST | string |
Required Max length: 6 |
|
| EXCLUDEGSTVAT | boolean |
Required |
|
| HSN_SAC_CODE | string |
Required Max length: 6 |
|
| ASK_ACCOUNT | boolean |
Required |
|
| DESIGN_CODE | string |
Required Max length: 20 |
Request Formats
application/json, text/json
Sample:
{
"MID": 1,
"SERVICE_CODE": "sample string 2",
"DESCRIPTION": "sample string 3",
"ACCODE": "sample string 4",
"SERVICEAMOUNT": 5.1,
"SM_BRANCHCODE": "sample string 6",
"FILTERVOCTYPE": "sample string 7",
"PURCHASE_GST": "sample string 8",
"SALES_GST": "sample string 9",
"BRANCH_TRANSFER_GST": "sample string 10",
"EXCLUDEGSTVAT": true,
"HSN_SAC_CODE": "sample string 12",
"ASK_ACCOUNT": true,
"DESIGN_CODE": "sample string 14"
}
text/html
Sample:
{"MID":1,"SERVICE_CODE":"sample string 2","DESCRIPTION":"sample string 3","ACCODE":"sample string 4","SERVICEAMOUNT":5.1,"SM_BRANCHCODE":"sample string 6","FILTERVOCTYPE":"sample string 7","PURCHASE_GST":"sample string 8","SALES_GST":"sample string 9","BRANCH_TRANSFER_GST":"sample string 10","EXCLUDEGSTVAT":true,"HSN_SAC_CODE":"sample string 12","ASK_ACCOUNT":true,"DESIGN_CODE":"sample string 14"}
application/xml, text/xml
Sample:
<ServiceMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.Master"> <ACCODE>sample string 4</ACCODE> <ASK_ACCOUNT>true</ASK_ACCOUNT> <BRANCH_TRANSFER_GST>sample string 10</BRANCH_TRANSFER_GST> <DESCRIPTION>sample string 3</DESCRIPTION> <DESIGN_CODE>sample string 14</DESIGN_CODE> <EXCLUDEGSTVAT>true</EXCLUDEGSTVAT> <FILTERVOCTYPE>sample string 7</FILTERVOCTYPE> <HSN_SAC_CODE>sample string 12</HSN_SAC_CODE> <MID>1</MID> <PURCHASE_GST>sample string 8</PURCHASE_GST> <SALES_GST>sample string 9</SALES_GST> <SERVICEAMOUNT>5.1</SERVICEAMOUNT> <SERVICE_CODE>sample string 2</SERVICE_CODE> <SM_BRANCHCODE>sample string 6</SM_BRANCHCODE> </ServiceMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />