POST api/QCAllocation
Request Information
URI Parameters
None.
Body Parameters
QCAllocation| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerCode | string |
Required String length: inclusive between 0 and 3 |
|
| ProjectCode | string |
Required String length: inclusive between 0 and 5 |
|
| BatchNo | string |
String length: inclusive between 0 and 4 |
|
| AllocatedFileName | string |
Required String length: inclusive between 0 and 100 |
|
| UserID | string |
Required String length: inclusive between 0 and 50 |
Request Formats
application/json, text/json
Sample:
{
"CustomerCode": "sample string 1",
"ProjectCode": "sample string 2",
"BatchNo": "sample string 3",
"AllocatedFileName": "sample string 4",
"UserID": "sample string 5"
}
application/xml, text/xml
Sample:
<QCAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models"> <AllocatedFileName>sample string 4</AllocatedFileName> <BatchNo>sample string 3</BatchNo> <CustomerCode>sample string 1</CustomerCode> <ProjectCode>sample string 2</ProjectCode> <UserID>sample string 5</UserID> </QCAllocation>
multipart/form-data
Sample:
<QCAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GOPWebAPI.Models"><AllocatedFileName>sample string 4</AllocatedFileName><BatchNo>sample string 3</BatchNo><CustomerCode>sample string 1</CustomerCode><ProjectCode>sample string 2</ProjectCode><UserID>sample string 5</UserID></QCAllocation>
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. |