POST api/Customer/GetCustomerById/{customerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CustomerVM| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| RoutesId | integer |
None. |
|
| PaymentTermId | integer |
None. |
|
| IsMaster | boolean |
None. |
|
| DepoId | integer |
None. |
|
| CustomerName | string |
None. |
|
| PaymentTerm | string |
None. |
|
| GSTNo | string |
None. |
|
| GSTRegistrationTypeId | integer |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
||
| Password | string |
None. |
|
| Address | string |
None. |
|
| CountryId | integer |
None. |
|
| StateId | integer |
None. |
|
| CityId | integer |
None. |
|
| StateName | string |
None. |
|
| CityName | string |
None. |
|
| CustomerTypeId | integer |
None. |
|
| CustomerType | string |
None. |
|
| IsStaff | boolean |
None. |
|
| PinCode | string |
None. |
|
| City | string |
None. |
|
| PANNo | string |
None. |
|
| MobileNo | string |
None. |
|
| CINNo | string |
None. |
|
| TANNO | string |
None. |
|
| IsActive | boolean |
None. |
|
| PasswordHash | string |
None. |
|
| PasswordSalt | string |
None. |
|
| UserImageURL | string |
None. |
|
| ImageData | string |
None. |
|
| InsertDate | date |
None. |
|
| UpdatedDate | date |
None. |
|
| ValidationStatus | string |
None. |
|
| Token | string |
None. |
|
| OpeningBalance | decimal number |
None. |
|
| CurrentBalance | decimal number |
None. |
|
| FireBaseToken | string |
None. |
|
| Longitude | string |
None. |
|
| Latitude | string |
None. |
|
| IsReceivable | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"customerId": 1,
"routesId": 1,
"paymentTermId": 1,
"isMaster": true,
"depoId": 1,
"customerName": "sample string 3",
"paymentTerm": "sample string 4",
"gstNo": "sample string 5",
"gstRegistrationTypeId": 6,
"phone": "sample string 7",
"email": "sample string 8",
"password": "sample string 9",
"address": "sample string 10",
"countryId": 11,
"stateId": 1,
"cityId": 1,
"stateName": "sample string 12",
"cityName": "sample string 13",
"customerTypeId": 14,
"customerType": "sample string 15",
"isStaff": true,
"pinCode": "sample string 17",
"city": "sample string 18",
"panNo": "sample string 19",
"mobileNo": "sample string 20",
"cinNo": "sample string 21",
"tanno": "sample string 22",
"isActive": true,
"passwordHash": "sample string 24",
"passwordSalt": "sample string 25",
"userImageURL": "sample string 26",
"imageData": "sample string 27",
"insertDate": "2025-10-28T13:47:38.1671383+05:30",
"updatedDate": "2025-10-28T13:47:38.1671383+05:30",
"validationStatus": "sample string 28",
"token": "sample string 29",
"openingBalance": 30.1,
"currentBalance": 31.1,
"fireBaseToken": "sample string 32",
"longitude": "sample string 33",
"latitude": "sample string 34",
"isReceivable": true
}
application/xml, text/xml
Sample:
<CustomerVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMS.VM"> <Address>sample string 10</Address> <CINNo>sample string 21</CINNo> <City>sample string 18</City> <CityId>1</CityId> <CityName>sample string 13</CityName> <CountryId>11</CountryId> <CurrentBalance>31.1</CurrentBalance> <CustomerId>1</CustomerId> <CustomerName>sample string 3</CustomerName> <CustomerType>sample string 15</CustomerType> <CustomerTypeId>14</CustomerTypeId> <DepoId>1</DepoId> <Email>sample string 8</Email> <FireBaseToken>sample string 32</FireBaseToken> <GSTNo>sample string 5</GSTNo> <GSTRegistrationTypeId>6</GSTRegistrationTypeId> <ImageData>sample string 27</ImageData> <InsertDate>2025-10-28T13:47:38.1671383+05:30</InsertDate> <IsActive>true</IsActive> <IsMaster>true</IsMaster> <IsReceivable>true</IsReceivable> <IsStaff>true</IsStaff> <Latitude>sample string 34</Latitude> <Longitude>sample string 33</Longitude> <MobileNo>sample string 20</MobileNo> <OpeningBalance>30.1</OpeningBalance> <PANNo>sample string 19</PANNo> <Password>sample string 9</Password> <PasswordHash>sample string 24</PasswordHash> <PasswordSalt>sample string 25</PasswordSalt> <PaymentTerm>sample string 4</PaymentTerm> <PaymentTermId>1</PaymentTermId> <Phone>sample string 7</Phone> <PinCode>sample string 17</PinCode> <RoutesId>1</RoutesId> <StateId>1</StateId> <StateName>sample string 12</StateName> <TANNO>sample string 22</TANNO> <Token>sample string 29</Token> <UpdatedDate>2025-10-28T13:47:38.1671383+05:30</UpdatedDate> <UserImageURL>sample string 26</UserImageURL> <ValidationStatus>sample string 28</ValidationStatus> </CustomerVM>