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