POST api/v1/recommendations/packagerecommendation

Request Information

URI Parameters

None.

Body Parameters

RecommendationViewModel
NameDescriptionTypeAdditional information
CustomerId

integer

None.

ElementId

integer

None.

EmployeeId

integer

None.

AppointmentServiceId

integer

None.

SpecialId

integer

None.

Comment

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "ElementId": 2,
  "EmployeeId": 3,
  "AppointmentServiceId": 1,
  "SpecialId": 4,
  "Comment": "sample string 5"
}

application/xml, text/xml

Sample:
<RecommendationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Customers.Api.Models.Recommendations">
  <AppointmentServiceId>1</AppointmentServiceId>
  <Comment>sample string 5</Comment>
  <CustomerId>1</CustomerId>
  <ElementId>2</ElementId>
  <EmployeeId>3</EmployeeId>
  <SpecialId>4</SpecialId>
</RecommendationViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfPromotionalPackageRecommendation
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

PromotionalPackageRecommendation

None.

Pagination

Pagination

None.

Response Formats

application/json, text/json

Sample:

Sample not available.