POST api/Service/SaveMechanic

Request Information

URI Parameters

None.

Body Parameters

MechanicModal
NameDescriptionTypeAdditional information
MechanicId

integer

None.

ShopName

string

None.

OwnerName

string

None.

ServicesOffered

string

None.

ContactNumber

string

None.

GooglePinLocation

string

None.

Address

string

None.

ServiceType

byte

None.

Status

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MechanicId": 1,
  "ShopName": "sample string 2",
  "OwnerName": "sample string 3",
  "ServicesOffered": "sample string 4",
  "ContactNumber": "sample string 5",
  "GooglePinLocation": "sample string 6",
  "Address": "sample string 7",
  "ServiceType": 64,
  "Status": true
}

application/xml, text/xml

Sample:
<MechanicModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UnionOwnersBackend.Models">
  <Address>sample string 7</Address>
  <ContactNumber>sample string 5</ContactNumber>
  <GooglePinLocation>sample string 6</GooglePinLocation>
  <MechanicId>1</MechanicId>
  <OwnerName>sample string 3</OwnerName>
  <ServiceType>64</ServiceType>
  <ServicesOffered>sample string 4</ServicesOffered>
  <ShopName>sample string 2</ShopName>
  <Status>true</Status>
</MechanicModal>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />