POST api/CustomerOperation/Insert
Request Information
URI Parameters
None.
Body Parameters
CustomerName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CustomerName | string |
Required |
|
Mobile | integer |
Required Matching regular expression pattern: ^([0-9]{10})$ |
|
RefferenceMobile | integer |
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. |
|
ShopLanguage | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "CustomerName": "sample string 2", "Mobile": 3, "RefferenceMobile": 4, "Email": "sample string 5", "UserName": "sample string 6", "Password": "sample string 7", "StreetAreaId": 8, "RegDate": "2025-08-30T03:37:42.9454504+05:30", "LastLogin": "2025-08-30T03:37:42.9454504+05:30", "Photo": "sample string 11", "ImageFile": null, "ShopLanguage": "sample string 12" }
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SaleWebApi"> <CustomerName>sample string 2</CustomerName> <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:37:42.9454504+05:30</LastLogin> <Mobile>3</Mobile> <Password>sample string 7</Password> <Photo>sample string 11</Photo> <RefferenceMobile>4</RefferenceMobile> <RegDate>2025-08-30T03:37:42.9454504+05:30</RegDate> <ShopLanguage>sample string 12</ShopLanguage> <StreetAreaId>8</StreetAreaId> <UserName>sample string 6</UserName> </Customer>
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>