POST api/PostMOne/AddPrisonerProfile
Request Information
URI Parameters
None.
Body Parameters
D1PrisonerProfileDO| Name | Description | Type | Additional information |
|---|---|---|---|
| Prisonerid | integer |
None. |
|
| StatusId | integer |
None. |
|
| ConfinementModeId | integer |
None. |
|
| Prisonername | string |
None. |
|
| Fathername | string |
None. |
|
| Mothername | string |
None. |
|
| Address | string |
None. |
|
| Districtid | string |
None. |
|
| PsId | integer |
None. |
|
| Educationid | string |
None. |
|
| Qualificationid | string |
None. |
|
| Age | integer |
None. |
|
| Dateofbirth | string |
Data type: Date |
|
| GenderId | string |
None. |
|
| HusbandName | string |
None. |
|
| Prisonernumber | string |
None. |
|
| Confinementyear | string |
String length: inclusive between 4 and 4 |
|
| Dateofadmission | string |
Data type: Date |
|
| ImagePath | string |
None. |
|
| IfPhotoAvble | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Prisonerid": 1,
"StatusId": 2,
"ConfinementModeId": 3,
"Prisonername": "sample string 4",
"Fathername": "sample string 5",
"Mothername": "sample string 6",
"Address": "sample string 7",
"Districtid": "sample string 8",
"PsId": 9,
"Educationid": "sample string 10",
"Qualificationid": "sample string 11",
"Age": 12,
"Dateofbirth": "sample string 13",
"GenderId": "sample string 14",
"HusbandName": "sample string 15",
"Prisonernumber": "sample string 16",
"Confinementyear": "sample string 17",
"Dateofadmission": "sample string 18",
"ImagePath": "sample string 19",
"IfPhotoAvble": 20
}
application/xml, text/xml
Sample:
<D1PrisonerProfileDO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheJuryDO"> <Address>sample string 7</Address> <Age>12</Age> <ConfinementModeId>3</ConfinementModeId> <Confinementyear>sample string 17</Confinementyear> <Dateofadmission>sample string 18</Dateofadmission> <Dateofbirth>sample string 13</Dateofbirth> <Districtid>sample string 8</Districtid> <Educationid>sample string 10</Educationid> <Fathername>sample string 5</Fathername> <GenderId>sample string 14</GenderId> <HusbandName>sample string 15</HusbandName> <IfPhotoAvble>20</IfPhotoAvble> <ImagePath>sample string 19</ImagePath> <Mothername>sample string 6</Mothername> <Prisonerid>1</Prisonerid> <Prisonername>sample string 4</Prisonername> <Prisonernumber>sample string 16</Prisonernumber> <PsId>9</PsId> <Qualificationid>sample string 11</Qualificationid> <StatusId>2</StatusId> </D1PrisonerProfileDO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.