POST api/vender/addService

Request Information

URI Parameters

None.

Body Parameters

Service
NameDescriptionTypeAdditional information
Services_ID

integer

None.

Services_name

string

None.

Services_discription

string

None.

Services_cat_ID

integer

None.

Vender_ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Services_ID": 1,
  "Services_name": "sample string 2",
  "Services_discription": "sample string 3",
  "Services_cat_ID": 1,
  "Vender_ID": 1
}

application/xml, text/xml

Sample:
<Service xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/asanRishta.Models">
  <Services_ID>1</Services_ID>
  <Services_cat_ID>1</Services_cat_ID>
  <Services_discription>sample string 3</Services_discription>
  <Services_name>sample string 2</Services_name>
  <Vender_ID>1</Vender_ID>
</Service>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>