PUT api/Customer/PuttblMstCustomer
Request Information
URI Parameters
None.
Body Parameters
Customer| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerID | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| CompanyID | integer |
None. |
|
| HomeAddress | string |
None. |
|
| OfficeAddress | string |
None. |
|
| FromOfficeTime | time interval |
None. |
|
| ToOfficeTime | time interval |
None. |
|
| City | string |
None. |
|
| CountryID | integer |
None. |
|
| PostalCode | string |
Matching regular expression pattern: ^(\d{6})$ |
|
| PhoneNo | string |
Required Matching regular expression pattern: ^(\d{10})$ |
|
| AlternativePhoneNo | string |
Matching regular expression pattern: ^(\d{10})$ |
|
| Birthdate | date |
Data type: Date |
|
| string |
None. |
||
| CompanyName | string |
None. |
|
| CountryName | string |
None. |
|
| AddedBy | string |
None. |
|
| AddedOn | date |
None. |
|
| ModifiedBy | string |
None. |
|
| ModifiedOn | date |
None. |
|
| SubscriptionId | integer |
None. |
|
| CustomerType | string |
None. |
|
| GSTNo | string |
None. |
|
| ImagePath | string |
None. |
|
| IsActive | boolean |
None. |
|
| AdharNo | string |
None. |
|
| Gender | string |
None. |
|
| MarritalStatus | string |
None. |
|
| ImgExtension | string |
None. |
|
| base64String | string |
None. |
|
| IsImgUpdated | boolean |
None. |
|
| IsPromoCodeAvailable | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerID": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"CompanyID": 1,
"HomeAddress": "sample string 4",
"OfficeAddress": "sample string 5",
"FromOfficeTime": "00:00:00.1234567",
"ToOfficeTime": "00:00:00.1234567",
"City": "sample string 6",
"CountryID": 1,
"PostalCode": "sample string 7",
"PhoneNo": "sample string 8",
"AlternativePhoneNo": "sample string 9",
"Birthdate": "2026-02-05T11:49:21.8388901+05:30",
"Email": "sample string 10",
"CompanyName": "sample string 11",
"CountryName": "sample string 12",
"AddedBy": "sample string 13",
"AddedOn": "2026-02-05T11:49:21.8388901+05:30",
"ModifiedBy": "sample string 14",
"ModifiedOn": "2026-02-05T11:49:21.8388901+05:30",
"SubscriptionId": 1,
"CustomerType": "sample string 15",
"GSTNo": "sample string 16",
"ImagePath": "sample string 17",
"IsActive": true,
"AdharNo": "sample string 19",
"Gender": "sample string 20",
"MarritalStatus": "sample string 21",
"ImgExtension": "sample string 22",
"base64String": "sample string 23",
"IsImgUpdated": true,
"IsPromoCodeAvailable": true
}
application/xml, text/xml
Sample:
<Customer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLogic.Models.CustomClasses"> <AddedBy>sample string 13</AddedBy> <AddedOn>2026-02-05T11:49:21.8388901+05:30</AddedOn> <AdharNo>sample string 19</AdharNo> <AlternativePhoneNo>sample string 9</AlternativePhoneNo> <Birthdate>2026-02-05T11:49:21.8388901+05:30</Birthdate> <City>sample string 6</City> <CompanyID>1</CompanyID> <CompanyName>sample string 11</CompanyName> <CountryID>1</CountryID> <CountryName>sample string 12</CountryName> <CustomerID>1</CustomerID> <CustomerType>sample string 15</CustomerType> <Email>sample string 10</Email> <FirstName>sample string 2</FirstName> <FromOfficeTime>PT0.1234567S</FromOfficeTime> <GSTNo>sample string 16</GSTNo> <Gender>sample string 20</Gender> <HomeAddress>sample string 4</HomeAddress> <ImagePath>sample string 17</ImagePath> <ImgExtension>sample string 22</ImgExtension> <IsActive>true</IsActive> <IsImgUpdated>true</IsImgUpdated> <IsPromoCodeAvailable>true</IsPromoCodeAvailable> <LastName>sample string 3</LastName> <MarritalStatus>sample string 21</MarritalStatus> <ModifiedBy>sample string 14</ModifiedBy> <ModifiedOn>2026-02-05T11:49:21.8388901+05:30</ModifiedOn> <OfficeAddress>sample string 5</OfficeAddress> <PhoneNo>sample string 8</PhoneNo> <PostalCode>sample string 7</PostalCode> <SubscriptionId>1</SubscriptionId> <ToOfficeTime>PT0.1234567S</ToOfficeTime> <base64String>sample string 23</base64String> </Customer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.