POST api/Assistant/CreateAssistant
Request Information
URI Parameters
None.
Body Parameters
AssistantModels| Name | Description | Type | Additional information |
|---|---|---|---|
| HO_Id | integer |
None. |
|
| AS_Id | integer |
None. |
|
| AS_FirstName | string |
Required Max length: 50 |
|
| AS_LastName | string |
Required Max length: 50 |
|
| AS_DOB | date |
Required |
|
| As_Sp_id_fk | integer |
None. |
|
| AS_Gender | string |
Required |
|
| AS_Address | string |
Required |
|
| AS_Country | string |
None. |
|
| AS_ST_Id_FK | integer |
None. |
|
| ST_StateName | string |
None. |
|
| AS_DI_Id_FK | integer |
Required |
|
| DI_District | string |
None. |
|
| AS_Taluk | string |
Required |
|
| AS_PostalCode | integer |
Required Matching regular expression pattern: ^(\d{6})$ |
|
| AS_MobileNumber | integer |
Required Matching regular expression pattern: ^\d{10}$ |
|
| As_Alternative | integer |
None. |
|
| AS_OfficialNumber | integer |
None. |
|
| AS_Email | string |
Required Max length: 50 |
|
| As_code | integer |
None. |
|
| AS_HO_Id_FK | integer |
None. |
|
| AS_HospitalName | string |
None. |
|
| As_Village | string |
None. |
|
| AS_QU_Id_FK | integer |
Required |
|
| AS_Qualification | string |
None. |
|
| AS_DE_Id_FK | integer |
Required |
|
| AS_Designation | string |
None. |
|
| AS_Photo | string |
Required Max length: 250 |
|
| created_by | integer |
None. |
|
| created_date | date |
None. |
|
| modified_by | integer |
None. |
|
| modified_date | date |
None. |
|
| deleted_by | integer |
None. |
|
| deleted_date | date |
None. |
|
| delete_flag | character |
None. |
|
| Status | character |
None. |
Request Formats
application/json, text/json
Sample:
{
"HO_Id": 1,
"AS_Id": 2,
"AS_FirstName": "sample string 3",
"AS_LastName": "sample string 4",
"AS_DOB": "2026-01-11T21:01:19.0307612+05:30",
"As_Sp_id_fk": 6,
"AS_Gender": "sample string 7",
"AS_Address": "sample string 8",
"AS_Country": "sample string 9",
"AS_ST_Id_FK": 10,
"ST_StateName": "sample string 11",
"AS_DI_Id_FK": 12,
"DI_District": "sample string 13",
"AS_Taluk": "sample string 14",
"AS_PostalCode": 15,
"AS_MobileNumber": 16,
"As_Alternative": 17,
"AS_OfficialNumber": 1,
"AS_Email": "sample string 18",
"As_code": 19,
"AS_HO_Id_FK": 20,
"AS_HospitalName": "sample string 21",
"As_Village": "sample string 22",
"AS_QU_Id_FK": 23,
"AS_Qualification": "sample string 24",
"AS_DE_Id_FK": 25,
"AS_Designation": "sample string 26",
"AS_Photo": "sample string 27",
"created_by": 28,
"created_date": "2026-01-11T21:01:19.0327601+05:30",
"modified_by": 30,
"modified_date": "2026-01-11T21:01:19.0337603+05:30",
"deleted_by": 32,
"deleted_date": "2026-01-11T21:01:19.0337603+05:30",
"delete_flag": "A",
"Status": "A"
}
application/xml, text/xml
Sample:
<AssistantModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <AS_Address>sample string 8</AS_Address> <AS_Country>sample string 9</AS_Country> <AS_DE_Id_FK>25</AS_DE_Id_FK> <AS_DI_Id_FK>12</AS_DI_Id_FK> <AS_DOB>2026-01-11T21:01:19.0307612+05:30</AS_DOB> <AS_Designation>sample string 26</AS_Designation> <AS_Email>sample string 18</AS_Email> <AS_FirstName>sample string 3</AS_FirstName> <AS_Gender>sample string 7</AS_Gender> <AS_HO_Id_FK>20</AS_HO_Id_FK> <AS_HospitalName>sample string 21</AS_HospitalName> <AS_Id>2</AS_Id> <AS_LastName>sample string 4</AS_LastName> <AS_MobileNumber>16</AS_MobileNumber> <AS_OfficialNumber>1</AS_OfficialNumber> <AS_Photo>sample string 27</AS_Photo> <AS_PostalCode>15</AS_PostalCode> <AS_QU_Id_FK>23</AS_QU_Id_FK> <AS_Qualification>sample string 24</AS_Qualification> <AS_ST_Id_FK>10</AS_ST_Id_FK> <AS_Taluk>sample string 14</AS_Taluk> <As_Alternative>17</As_Alternative> <As_Sp_id_fk>6</As_Sp_id_fk> <As_Village>sample string 22</As_Village> <As_code>19</As_code> <DI_District>sample string 13</DI_District> <HO_Id>1</HO_Id> <ST_StateName>sample string 11</ST_StateName> <Status>65</Status> <created_by>28</created_by> <created_date>2026-01-11T21:01:19.0327601+05:30</created_date> <delete_flag>65</delete_flag> <deleted_by>32</deleted_by> <deleted_date>2026-01-11T21:01:19.0337603+05:30</deleted_date> <modified_by>30</modified_by> <modified_date>2026-01-11T21:01:19.0337603+05:30</modified_date> </AssistantModels>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.