POST api/Services/AddUpdateStore
Request Information
URI Parameters
None.
Body Parameters
Mst_StoreName | Description | Type | Additional information |
---|---|---|---|
StoreId | integer |
None. |
|
StoreTypeId | integer |
None. |
|
Name | string |
None. |
|
StateId | integer |
None. |
|
DistrictId | integer |
None. |
|
CityId | integer |
None. |
|
TehsilId | integer |
None. |
|
VillageId | integer |
None. |
|
Address | string |
None. |
|
Pincode | string |
None. |
|
PhoneNumber | string |
None. |
|
MobileNo | string |
None. |
|
EmailId | string |
None. |
|
latitude | string |
None. |
|
longitude | string |
None. |
|
Image1 | string |
None. |
|
Image2 | string |
None. |
|
PerentId | integer |
None. |
|
UserId | integer |
None. |
|
SubscriptionId | integer |
None. |
|
State | string |
None. |
|
District | string |
None. |
|
City | string |
None. |
|
Locality | string |
None. |
|
IsActive | boolean |
None. |
|
IsDelete | boolean |
None. |
|
CreatedDate | date |
None. |
|
UpdatedDate | date |
None. |
|
IsSelected | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "StoreId": 1, "StoreTypeId": 1, "Name": "sample string 2", "StateId": 3, "DistrictId": 1, "CityId": 1, "TehsilId": 1, "VillageId": 1, "Address": "sample string 4", "Pincode": "sample string 5", "PhoneNumber": "sample string 6", "MobileNo": "sample string 7", "EmailId": "sample string 8", "latitude": "sample string 9", "longitude": "sample string 10", "Image1": "sample string 11", "Image2": "sample string 12", "PerentId": 13, "UserId": 14, "SubscriptionId": 15, "State": "sample string 16", "District": "sample string 17", "City": "sample string 18", "Locality": "sample string 19", "IsActive": true, "IsDelete": true, "CreatedDate": "2024-12-23T04:11:34.0623153+05:30", "UpdatedDate": "2024-12-23T04:11:34.0623153+05:30", "IsSelected": true }
text/html, multipart/form-data
Sample:
{"StoreId":1,"StoreTypeId":1,"Name":"sample string 2","StateId":3,"DistrictId":1,"CityId":1,"TehsilId":1,"VillageId":1,"Address":"sample string 4","Pincode":"sample string 5","PhoneNumber":"sample string 6","MobileNo":"sample string 7","EmailId":"sample string 8","latitude":"sample string 9","longitude":"sample string 10","Image1":"sample string 11","Image2":"sample string 12","PerentId":13,"UserId":14,"SubscriptionId":15,"State":"sample string 16","District":"sample string 17","City":"sample string 18","Locality":"sample string 19","IsActive":true,"IsDelete":true,"CreatedDate":"2024-12-23T04:11:34.0623153+05:30","UpdatedDate":"2024-12-23T04:11:34.0623153+05:30","IsSelected":true}
application/xml, text/xml
Sample:
<Mst_Store xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataBase"> <Address>sample string 4</Address> <City>sample string 18</City> <CityId>1</CityId> <CreatedDate>2024-12-23T04:11:34.0623153+05:30</CreatedDate> <District>sample string 17</District> <DistrictId>1</DistrictId> <EmailId>sample string 8</EmailId> <Image1>sample string 11</Image1> <Image2>sample string 12</Image2> <IsActive>true</IsActive> <IsDelete>true</IsDelete> <IsSelected>true</IsSelected> <Locality>sample string 19</Locality> <MobileNo>sample string 7</MobileNo> <Name>sample string 2</Name> <PerentId>13</PerentId> <PhoneNumber>sample string 6</PhoneNumber> <Pincode>sample string 5</Pincode> <State>sample string 16</State> <StateId>3</StateId> <StoreId>1</StoreId> <StoreTypeId>1</StoreTypeId> <SubscriptionId>15</SubscriptionId> <TehsilId>1</TehsilId> <UpdatedDate>2024-12-23T04:11:34.0623153+05:30</UpdatedDate> <UserId>14</UserId> <VillageId>1</VillageId> <latitude>sample string 9</latitude> <longitude>sample string 10</longitude> </Mst_Store>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIResponceName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Message": "sample string 2", "Data": {} }
text/html, multipart/form-data
Sample:
{"Status":"sample string 1","Message":"sample string 2","Data":{}}
application/xml, text/xml
Sample:
<APIResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Controllers"> <Data /> <Message>sample string 2</Message> <Status>sample string 1</Status> </APIResponce>