POST api/employee/createservice
Create service. Required fields: CustomerId, LocationId, ProductServiceId
Request Information
Allows access to child location using parent company token, in this case use location id parameter
URI Parameters
None.
Body Parameters
Employee Service Info
EmployeeServiceInfoName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
LocationId | integer |
None. |
|
ProductServiceId | integer |
None. |
|
Price | decimal number |
None. |
|
MemberPrice | decimal number |
None. |
|
Value | decimal number |
None. |
|
IsPercentage | boolean |
None. |
|
ServiceTime | integer |
None. |
|
ProcessTime | integer |
None. |
|
FinishTime | integer |
None. |
|
CreatedBy | string |
None. |
|
IsServiceAdd | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": 1, "LocationId": 2, "ProductServiceId": 3, "Price": 4.0, "MemberPrice": 1.0, "Value": 5.0, "IsPercentage": true, "ServiceTime": 7, "ProcessTime": 1, "FinishTime": 1, "CreatedBy": "sample string 8", "IsServiceAdd": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |