POST api/ShopOperation/Insert
Request Information
URI Parameters
None.
Body Parameters
ShopName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
ShopName | string |
Required |
|
OwnerName | string |
Required |
|
Mobile | integer |
Required Matching regular expression pattern: ^([0-9]{10})$ |
|
string |
Matching regular expression pattern: ^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$ |
||
UserName | string |
None. |
|
Password | string |
Required Matching regular expression pattern: ^[\s\S]{7,15}$ |
|
StreetAreaId | integer |
None. |
|
RegDate | date |
None. |
|
LastLogin | date |
None. |
|
Photo | string |
None. |
|
ImageFile | HttpPostedFileBase |
None. |
|
ShortDescription | string |
None. |
|
LongDescription | string |
None. |
|
ShopLanguage | string |
None. |
|
PickupAvailable | character |
None. |
|
DeliveryAvailable | character |
None. |
|
MessageForOrder | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "ShopName": "sample string 2", "OwnerName": "sample string 3", "Mobile": 4, "Email": "sample string 5", "UserName": "sample string 6", "Password": "sample string 7", "StreetAreaId": 8, "RegDate": "2025-08-30T03:36:55.1016025+05:30", "LastLogin": "2025-08-30T03:36:55.1016025+05:30", "Photo": "sample string 11", "ImageFile": null, "ShortDescription": "sample string 12", "LongDescription": "sample string 13", "ShopLanguage": "sample string 14", "PickupAvailable": "A", "DeliveryAvailable": "A", "MessageForOrder": "sample string 17" }
application/xml, text/xml
Sample:
<Shop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaleWebApi"> <DeliveryAvailable>65</DeliveryAvailable> <Email>sample string 5</Email> <Id>1</Id> <ImageFile xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <LastLogin>2025-08-30T03:36:55.1016025+05:30</LastLogin> <LongDescription>sample string 13</LongDescription> <MessageForOrder>sample string 17</MessageForOrder> <Mobile>4</Mobile> <OwnerName>sample string 3</OwnerName> <Password>sample string 7</Password> <Photo>sample string 11</Photo> <PickupAvailable>65</PickupAvailable> <RegDate>2025-08-30T03:36:55.1016025+05:30</RegDate> <ShopLanguage>sample string 14</ShopLanguage> <ShopName>sample string 2</ShopName> <ShortDescription>sample string 12</ShortDescription> <StreetAreaId>8</StreetAreaId> <UserName>sample string 6</UserName> </Shop>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>