POST api/Service/SaveTowing

Request Information

URI Parameters

None.

Body Parameters

TowingModal
NameDescriptionTypeAdditional information
TowingId

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:
{
  "TowingId": 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:
<TowingModal 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>
  <OwnerName>sample string 3</OwnerName>
  <ServiceType>64</ServiceType>
  <ServicesOffered>sample string 4</ServicesOffered>
  <ShopName>sample string 2</ShopName>
  <Status>true</Status>
  <TowingId>1</TowingId>
</TowingModal>

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" />