POST api/offlineVendor/OfflineVendor_Upsert

Request Information

URI Parameters

None.

Body Parameters

OfflineVendor
NameDescriptionTypeAdditional information
Id

integer

None.

SalonId

integer

None.

Name

string

None.

PhoneNumber

string

None.

Email

string

None.

CreatedDate

date

None.

CreatedBy

integer

None.

CreatedDateStr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "SalonId": 2,
  "Name": "sample string 3",
  "PhoneNumber": "sample string 4",
  "Email": "sample string 5",
  "CreatedDate": "2025-07-08T20:25:21.0153113+03:00",
  "CreatedBy": 7,
  "CreatedDateStr": "08-07-2025 08:25 PM"
}

text/xml

Sample:
<OfflineVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.V1">
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">7</CreatedBy>
  <CreatedDate xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2025-07-08T20:25:21.0153113+03:00</CreatedDate>
  <Email xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 5</Email>
  <Id xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">1</Id>
  <Name xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 3</Name>
  <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">sample string 4</PhoneNumber>
  <SalonId xmlns="http://schemas.datacontract.org/2004/07/BeautyBook.Entities.Contract">2</SalonId>
</OfflineVendor>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OfflineVendor'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.