POST api/Upload/Post
Request Information
URI Parameters
None.
Body Parameters
PL_UploadRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Client_ID | integer |
None. |
|
| Content_Type | integer |
None. |
|
| HTL | integer |
None. |
|
| Batch_Id | integer |
None. |
|
| Roc_Id | integer |
None. |
|
| Category_ID | integer |
None. |
|
| Sub_Category_ID | integer |
None. |
|
| Image_Content | Collection of byte |
None. |
|
| Content_Name | string |
None. |
|
| Content_Size | integer |
None. |
|
| Check_Sum | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{
"Client_ID": 1,
"Content_Type": 2,
"HTL": 3,
"Batch_Id": 4,
"Roc_Id": 5,
"Category_ID": 6,
"Sub_Category_ID": 7,
"Image_Content": "QEA=",
"Content_Name": "sample string 8",
"Content_Size": 9,
"Check_Sum": "QEA="
}
application/xml, text/xml
Sample:
<PL_UploadRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ContentServer.Models"> <Batch_Id>4</Batch_Id> <Category_ID>6</Category_ID> <Check_Sum>QEA=</Check_Sum> <Client_ID>1</Client_ID> <Content_Name>sample string 8</Content_Name> <Content_Size>9</Content_Size> <Content_Type>2</Content_Type> <HTL>3</HTL> <Image_Content>QEA=</Image_Content> <Roc_Id>5</Roc_Id> <Sub_Category_ID>7</Sub_Category_ID> </PL_UploadRequest>
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. |