POST api/shopregistration/registergaragefacility
Request Information
URI Parameters
None.
Body Parameters
GarageServiceInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopId | integer |
None. |
|
| ServiceId | integer |
None. |
|
| FacilityListInfo | Collection of GarageFacilityInfo |
None. |
Request Formats
application/json, text/json
Sample:
{
"ShopId": 1,
"ServiceId": 1,
"FacilityListInfo": [
{
"FacilityId": 1,
"CategoryPrice": [
{
"BikeCategoryId": 1,
"Price": 1.0,
"SalePrice": 1.0
},
{
"BikeCategoryId": 1,
"Price": 1.0,
"SalePrice": 1.0
}
]
},
{
"FacilityId": 1,
"CategoryPrice": [
{
"BikeCategoryId": 1,
"Price": 1.0,
"SalePrice": 1.0
},
{
"BikeCategoryId": 1,
"Price": 1.0,
"SalePrice": 1.0
}
]
}
]
}
application/xml, text/xml
Sample:
<GarageServiceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopRegistrationPostLibrary.GarageRegistration">
<FacilityListInfo>
<GarageFacilityInfo>
<CategoryPrice>
<BikeCategoryPrice>
<BikeCategoryId>1</BikeCategoryId>
<Price>1</Price>
<SalePrice>1</SalePrice>
</BikeCategoryPrice>
<BikeCategoryPrice>
<BikeCategoryId>1</BikeCategoryId>
<Price>1</Price>
<SalePrice>1</SalePrice>
</BikeCategoryPrice>
</CategoryPrice>
<FacilityId>1</FacilityId>
</GarageFacilityInfo>
<GarageFacilityInfo>
<CategoryPrice>
<BikeCategoryPrice>
<BikeCategoryId>1</BikeCategoryId>
<Price>1</Price>
<SalePrice>1</SalePrice>
</BikeCategoryPrice>
<BikeCategoryPrice>
<BikeCategoryId>1</BikeCategoryId>
<Price>1</Price>
<SalePrice>1</SalePrice>
</BikeCategoryPrice>
</CategoryPrice>
<FacilityId>1</FacilityId>
</GarageFacilityInfo>
</FacilityListInfo>
<ServiceId>1</ServiceId>
<ShopId>1</ShopId>
</GarageServiceInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.