POST api/v1/services/search

Request Information

URI Parameters

None.

Body Parameters

ServiceConsult
NameDescriptionTypeAdditional information
Id

integer

None.

EmployeeId

integer

None.

RoomId

integer

None.

Name

string

None.

Description

string

None.

Cost

decimal number

None.

Price

decimal number

None.

StatusId

integer

None.

CompanyId

integer

None.

IsCommissionable

boolean

None.

IsOnline

boolean

None.

BookOnline

boolean

None.

CategoryId

integer

None.

CustomerId

integer

None.

DynamicConceptId

integer

None.

RelationshipId

integer

None.

DynamicConcepts

Collection of integer

None.

Employees

Collection of integer

None.

ExcludeEmployees

Collection of integer

None.

ExcludeServices

Collection of integer

None.

ExcludeServicesIds

Collection of integer

None.

ExcludeCommissionEmployees

Collection of integer

None.

ExcludeMembership

Collection of integer

None.

Rooms

Collection of integer

None.

ExcludeRooms

Collection of integer

None.

Branches

Collection of integer

None.

Categories

Collection of integer

None.

ConstainSpecial

boolean

None.

ShowRecommendation

boolean

None.

RecommendationCustomerId

integer

None.

Status

Collection of string

None.

SearchName

string

None.

Search

string

None.

Take

integer

None.

Skip

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmployeeId": 2,
  "RoomId": 3,
  "Name": "sample string 4",
  "Description": "sample string 5",
  "Cost": 6.0,
  "Price": 7.0,
  "StatusId": 8,
  "CompanyId": 9,
  "IsCommissionable": true,
  "IsOnline": true,
  "BookOnline": true,
  "CategoryId": 13,
  "CustomerId": 14,
  "DynamicConceptId": 15,
  "RelationshipId": 16,
  "DynamicConcepts": [
    1,
    2
  ],
  "Employees": [
    1,
    2
  ],
  "ExcludeEmployees": [
    1,
    2
  ],
  "ExcludeServices": [
    1,
    2
  ],
  "ExcludeServicesIds": [
    1,
    2
  ],
  "ExcludeCommissionEmployees": [
    1,
    2
  ],
  "ExcludeMembership": [
    1,
    2
  ],
  "Rooms": [
    1,
    2
  ],
  "ExcludeRooms": [
    1,
    2
  ],
  "Branches": [
    1,
    2
  ],
  "Categories": [
    1,
    2
  ],
  "ConstainSpecial": true,
  "ShowRecommendation": true,
  "RecommendationCustomerId": 19,
  "Status": [
    "sample string 1",
    "sample string 2"
  ],
  "SearchName": "sample string 20",
  "Search": "sample string 21",
  "Take": 22,
  "Skip": 23
}

application/xml, text/xml

Sample:
<ServiceConsult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MWS.Core.Models.Services">
  <BookOnline>true</BookOnline>
  <Branches xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Branches>
  <Categories xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Categories>
  <CategoryId>13</CategoryId>
  <CompanyId>9</CompanyId>
  <ConstainSpecial>true</ConstainSpecial>
  <Cost>6</Cost>
  <CustomerId>14</CustomerId>
  <Description>sample string 5</Description>
  <DynamicConceptId>15</DynamicConceptId>
  <DynamicConcepts xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </DynamicConcepts>
  <EmployeeId>2</EmployeeId>
  <Employees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Employees>
  <ExcludeCommissionEmployees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludeCommissionEmployees>
  <ExcludeEmployees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludeEmployees>
  <ExcludeMembership xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludeMembership>
  <ExcludeRooms xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludeRooms>
  <ExcludeServices xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludeServices>
  <ExcludeServicesIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </ExcludeServicesIds>
  <Id>1</Id>
  <IsCommissionable>true</IsCommissionable>
  <IsOnline>true</IsOnline>
  <Name>sample string 4</Name>
  <Price>7</Price>
  <RecommendationCustomerId>19</RecommendationCustomerId>
  <RelationshipId>16</RelationshipId>
  <RoomId>3</RoomId>
  <Rooms xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </Rooms>
  <Search>sample string 21</Search>
  <SearchName>sample string 20</SearchName>
  <ShowRecommendation>true</ShowRecommendation>
  <Skip>23</Skip>
  <Status xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Status>
  <StatusId>8</StatusId>
  <Take>22</Take>
</ServiceConsult>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfListOfService
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Data

Collection of Service

None.

Pagination

Pagination

None.

Response Formats

application/json, text/json

Sample:

Sample not available.