POST business/AddServiceRates
Request Information
URI Parameters
None.
Body Parameters
BusinessServiceRateName | Description | Type | Additional information |
---|---|---|---|
AppID | integer |
None. |
|
AppKey | string |
None. |
|
ServiceID | decimal number |
None. |
|
RateName | string |
None. |
|
Description | string |
None. |
|
CustomerID | decimal number |
None. |
|
Duration | integer |
None. |
|
Charge | decimal number |
None. |
|
Picture | string |
None. |
|
Discount | integer |
None. |
|
DiscountPersons | integer |
None. |
|
DiscountRate | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppID": 1, "AppKey": "sample string 2", "ServiceID": 3.0, "RateName": "sample string 4", "Description": "sample string 5", "CustomerID": 6.0, "Duration": 7, "Charge": 8.0, "Picture": "sample string 9", "Discount": 10, "DiscountPersons": 11, "DiscountRate": 12.0 }
application/xml, text/xml
Sample:
<InterfaceModels.BusinessServiceRate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Freshlooks"> <AppID>1</AppID> <AppKey>sample string 2</AppKey> <Charge>8</Charge> <CustomerID>6</CustomerID> <Description>sample string 5</Description> <Discount>10</Discount> <DiscountPersons>11</DiscountPersons> <DiscountRate>12</DiscountRate> <Duration>7</Duration> <Picture>sample string 9</Picture> <RateName>sample string 4</RateName> <ServiceID>3</ServiceID> </InterfaceModels.BusinessServiceRate>
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. |