POST api/Values/MAddAppShop
Request Information
URI Parameters
None.
Body Parameters
AppShopsDetailDomain| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| AppShopID | integer |
None. |
|
| ShopName | string |
None. |
|
| OwnerName | string |
None. |
|
| ContactPerson | string |
None. |
|
| ContactNO | string |
None. |
|
| ShopLatitude | decimal number |
None. |
|
| ShopLongitude | decimal number |
None. |
|
| ShopLocation | SqlGeography |
None. |
|
| UserID | integer |
None. |
|
| CreatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"AppShopID": 2,
"ShopName": "sample string 3",
"OwnerName": "sample string 4",
"ContactPerson": "sample string 5",
"ContactNO": "sample string 6",
"ShopLatitude": 7.0,
"ShopLongitude": 8.0,
"ShopLocation": null,
"UserID": 9,
"CreatedDate": "2025-11-03T10:45:52.6436311+05:00"
}
application/xml, text/xml
Sample:
<AppShopsDetailDomain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPITest.Models"> <AppShopID>2</AppShopID> <ContactNO>sample string 6</ContactNO> <ContactPerson>sample string 5</ContactPerson> <CreatedDate>2025-11-03T10:45:52.6436311+05:00</CreatedDate> <ID>1</ID> <OwnerName>sample string 4</OwnerName> <ShopLatitude>7</ShopLatitude> <ShopLocation xmlns:d2p1="http://schemas.datacontract.org/2004/07/Microsoft.SqlServer.Types" i:nil="true" /> <ShopLongitude>8</ShopLongitude> <ShopName>sample string 3</ShopName> <UserID>9</UserID> </AppShopsDetailDomain>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |