POST api/HRA/RegisterClient
Request Information
URI Parameters
None.
Body Parameters
ClientModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Uid | integer |
None. |
|
| id | string |
None. |
|
| string |
None. |
||
| name | string |
None. |
|
| Mobile | string |
None. |
|
| Phone | string |
None. |
|
| dob | date |
None. |
|
| LastLoginDetails | date |
None. |
|
| PinCode | integer |
None. |
|
| gender | string |
None. |
|
| Landmark | string |
None. |
|
| AddressLine1 | string |
None. |
|
| AddressLine2 | string |
None. |
|
| IsActive | boolean |
None. |
|
| MaritalStatus | integer |
None. |
|
| HRA | string |
None. |
|
| TRA | string |
None. |
|
| LMP | string |
None. |
|
| ImagePath | string |
None. |
|
| InterventionSelectedDate | date |
None. |
|
| CityId | integer |
None. |
|
| InterventionId | integer |
None. |
|
| UserId | integer |
None. |
|
| PolicyNumber | string |
None. |
|
| PolicyCustomerRef | string |
None. |
|
| Height | integer |
None. |
|
| HeightUnit | integer |
None. |
|
| Weight | decimal number |
None. |
|
| WeightUnit | integer |
None. |
|
| ActivityLevel | integer |
None. |
|
| BloodGroup | integer |
None. |
|
| Waist | decimal number |
None. |
|
| WaistUnit | integer |
None. |
|
| CreatedOn | date |
None. |
|
| CreatedBy | string |
None. |
|
| ModifiedOn | date |
None. |
|
| ModifiedBy | string |
None. |
|
| IsCompetitionRegistered | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"Uid": 1,
"id": "sample string 2",
"Email": "sample string 3",
"name": "sample string 4",
"Mobile": "sample string 5",
"Phone": "sample string 6",
"dob": "2026-08-13T01:03:27.0801493+05:30",
"LastLoginDetails": "2026-08-13T01:03:27.0801493+05:30",
"PinCode": 7,
"gender": "sample string 8",
"Landmark": "sample string 9",
"AddressLine1": "sample string 10",
"AddressLine2": "sample string 11",
"IsActive": true,
"MaritalStatus": 13,
"HRA": "sample string 14",
"TRA": "sample string 15",
"LMP": "sample string 16",
"ImagePath": "sample string 17",
"InterventionSelectedDate": "2026-08-13T01:03:27.0801493+05:30",
"CityId": 18,
"InterventionId": 19,
"UserId": 20,
"PolicyNumber": "sample string 21",
"PolicyCustomerRef": "sample string 22",
"Height": 23,
"HeightUnit": 24,
"Weight": 25.1,
"WeightUnit": 26,
"ActivityLevel": 27,
"BloodGroup": 28,
"Waist": 29.1,
"WaistUnit": 30,
"CreatedOn": "2026-08-13T01:03:27.0801493+05:30",
"CreatedBy": "sample string 31",
"ModifiedOn": "2026-08-13T01:03:27.0801493+05:30",
"ModifiedBy": "sample string 32",
"IsCompetitionRegistered": true
}
application/xml, text/xml
Sample:
<ClientModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WYH_Health.Models"> <ActivityLevel>27</ActivityLevel> <AddressLine1>sample string 10</AddressLine1> <AddressLine2>sample string 11</AddressLine2> <BloodGroup>28</BloodGroup> <CityId>18</CityId> <CreatedBy>sample string 31</CreatedBy> <CreatedOn>2026-08-13T01:03:27.0801493+05:30</CreatedOn> <Email>sample string 3</Email> <HRA>sample string 14</HRA> <Height>23</Height> <HeightUnit>24</HeightUnit> <ImagePath>sample string 17</ImagePath> <InterventionId>19</InterventionId> <InterventionSelectedDate>2026-08-13T01:03:27.0801493+05:30</InterventionSelectedDate> <IsActive>true</IsActive> <IsCompetitionRegistered>true</IsCompetitionRegistered> <LMP>sample string 16</LMP> <Landmark>sample string 9</Landmark> <LastLoginDetails>2026-08-13T01:03:27.0801493+05:30</LastLoginDetails> <MaritalStatus>13</MaritalStatus> <Mobile>sample string 5</Mobile> <ModifiedBy>sample string 32</ModifiedBy> <ModifiedOn>2026-08-13T01:03:27.0801493+05:30</ModifiedOn> <Phone>sample string 6</Phone> <PinCode>7</PinCode> <PolicyCustomerRef>sample string 22</PolicyCustomerRef> <PolicyNumber>sample string 21</PolicyNumber> <TRA>sample string 15</TRA> <Uid>1</Uid> <UserId>20</UserId> <Waist>29.1</Waist> <WaistUnit>30</WaistUnit> <Weight>25.1</Weight> <WeightUnit>26</WeightUnit> <dob>2026-08-13T01:03:27.0801493+05:30</dob> <gender>sample string 8</gender> <id>sample string 2</id> <name>sample string 4</name> </ClientModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |