POST api/ShopBP/SaveShop
Request Information
URI Parameters
None.
Body Parameters
ShopAddDtoName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
None. |
|
PhotoUrl | string |
None. |
|
Address1 | string |
None. |
|
Address2 | string |
None. |
|
Zip | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
LocationUrl | string |
None. |
|
CompanyId | integer |
None. |
|
CurrentUserId | integer |
None. |
|
MapLatitude | string |
None. |
|
MapLongitude | string |
None. |
|
Trn | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Name": "sample string 2", "PhotoUrl": "sample string 3", "Address1": "sample string 4", "Address2": "sample string 5", "Zip": "sample string 6", "City": "sample string 7", "State": "sample string 8", "LocationUrl": "sample string 9", "CompanyId": 10, "CurrentUserId": 11, "MapLatitude": "sample string 12", "MapLongitude": "sample string 13", "Trn": "sample string 14" }
application/xml, text/xml
Sample:
<ShopAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto"> <Address1>sample string 4</Address1> <Address2>sample string 5</Address2> <City>sample string 7</City> <CompanyId>10</CompanyId> <CurrentUserId>11</CurrentUserId> <Id>1</Id> <LocationUrl>sample string 9</LocationUrl> <MapLatitude>sample string 12</MapLatitude> <MapLongitude>sample string 13</MapLongitude> <Name>sample string 2</Name> <PhotoUrl>sample string 3</PhotoUrl> <State>sample string 8</State> <Trn>sample string 14</Trn> <Zip>sample string 6</Zip> </ShopAddDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseName | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 1, "Message": "sample string 2", "Data": {} }
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto"> <Data /> <Message>sample string 2</Message> <Status>1</Status> </Response>