GET api/ServiceMaster?SERVICE_CODE={SERVICE_CODE}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SERVICE_CODE

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ServiceMaster
NameDescriptionTypeAdditional 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

Response 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"
  },
  {
    "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"},{"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:
<ArrayOfServiceMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webAppApi.Models.Master">
  <ServiceMaster>
    <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>
  <ServiceMaster>
    <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>
</ArrayOfServiceMaster>