POST api/SainikDependents/{serviceNo}/{SD_Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| serviceNo | string |
Required |
|
| SD_Id | integer |
Required |
Body Parameters
Collection of DependentDocModels| Name | Description | Type | Additional information |
|---|---|---|---|
| SDU_Id | integer |
None. |
|
| SR_ServiceNo | string |
None. |
|
| SDU_SR_Id_FK | integer |
None. |
|
| SDU_SD_Id_FK | string |
None. |
|
| DocumentTypes | DocumentTypesModels |
None. |
|
| SDU_Category | string |
None. |
|
| SDU_File | string |
None. |
|
| SDU_DT_Id_FK | integer |
None. |
|
| ImagePath | string |
None. |
|
| SDU_PageNo | integer |
None. |
|
| SDU_DocNo | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SDU_Id": 1,
"SR_ServiceNo": "sample string 2",
"SDU_SR_Id_FK": 3,
"SDU_SD_Id_FK": "sample string 4",
"DocumentTypes": {
"DT_Id": 1,
"DT_Name": "sample string 2",
"DT_Path": 3,
"DT_PageNo": 4,
"IsSelected": 5
},
"SDU_Category": "sample string 5",
"SDU_File": "sample string 6",
"SDU_DT_Id_FK": 7,
"ImagePath": "sample string 8",
"SDU_PageNo": 9,
"SDU_DocNo": "sample string 10"
},
{
"SDU_Id": 1,
"SR_ServiceNo": "sample string 2",
"SDU_SR_Id_FK": 3,
"SDU_SD_Id_FK": "sample string 4",
"DocumentTypes": {
"DT_Id": 1,
"DT_Name": "sample string 2",
"DT_Path": 3,
"DT_PageNo": 4,
"IsSelected": 5
},
"SDU_Category": "sample string 5",
"SDU_File": "sample string 6",
"SDU_DT_Id_FK": 7,
"ImagePath": "sample string 8",
"SDU_PageNo": 9,
"SDU_DocNo": "sample string 10"
}
]
application/xml, text/xml
Sample:
<ArrayOfDependentDocModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SainikWebApi.Models">
<DependentDocModels>
<DocumentTypes>
<DT_Id>1</DT_Id>
<DT_Name>sample string 2</DT_Name>
<DT_PageNo>4</DT_PageNo>
<DT_Path>3</DT_Path>
<IsSelected>5</IsSelected>
</DocumentTypes>
<ImagePath>sample string 8</ImagePath>
<SDU_Category>sample string 5</SDU_Category>
<SDU_DT_Id_FK>7</SDU_DT_Id_FK>
<SDU_DocNo>sample string 10</SDU_DocNo>
<SDU_File>sample string 6</SDU_File>
<SDU_Id>1</SDU_Id>
<SDU_PageNo>9</SDU_PageNo>
<SDU_SD_Id_FK>sample string 4</SDU_SD_Id_FK>
<SDU_SR_Id_FK>3</SDU_SR_Id_FK>
<SR_ServiceNo>sample string 2</SR_ServiceNo>
</DependentDocModels>
<DependentDocModels>
<DocumentTypes>
<DT_Id>1</DT_Id>
<DT_Name>sample string 2</DT_Name>
<DT_PageNo>4</DT_PageNo>
<DT_Path>3</DT_Path>
<IsSelected>5</IsSelected>
</DocumentTypes>
<ImagePath>sample string 8</ImagePath>
<SDU_Category>sample string 5</SDU_Category>
<SDU_DT_Id_FK>7</SDU_DT_Id_FK>
<SDU_DocNo>sample string 10</SDU_DocNo>
<SDU_File>sample string 6</SDU_File>
<SDU_Id>1</SDU_Id>
<SDU_PageNo>9</SDU_PageNo>
<SDU_SD_Id_FK>sample string 4</SDU_SD_Id_FK>
<SDU_SR_Id_FK>3</SDU_SR_Id_FK>
<SR_ServiceNo>sample string 2</SR_ServiceNo>
</DependentDocModels>
</ArrayOfDependentDocModels>
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.