POST api/Asked/SaveAsked
Request Information
URI Parameters
None.
Body Parameters
Asked| Name | Description | Type | Additional information |
|---|---|---|---|
| personInChargeOtherPOCs | Collection of string |
None. |
|
| pocId | string |
None. |
|
| openingYear | integer |
None. |
|
| personInChargeName | string |
None. |
|
| personInChargeRole | integer |
None. |
|
| personInChargePhone | string |
None. |
|
| personInChargeBirthYear | integer |
None. |
|
| personInChargeGender | integer |
None. |
|
| personInChargeExperience | integer |
None. |
|
| user | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"personInChargeOtherPOCs": [
"sample string 1",
"sample string 2"
],
"pocId": "sample string 1",
"openingYear": 1,
"personInChargeName": "sample string 2",
"personInChargeRole": 1,
"personInChargePhone": "sample string 3",
"personInChargeBirthYear": 1,
"personInChargeGender": 1,
"personInChargeExperience": 1,
"user": "sample string 4"
}
application/xml, text/xml
Sample:
<AskedController.Asked xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Controllers">
<openingYear>1</openingYear>
<personInChargeBirthYear>1</personInChargeBirthYear>
<personInChargeExperience>1</personInChargeExperience>
<personInChargeGender>1</personInChargeGender>
<personInChargeName>sample string 2</personInChargeName>
<personInChargeOtherPOCs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</personInChargeOtherPOCs>
<personInChargePhone>sample string 3</personInChargePhone>
<personInChargeRole>1</personInChargeRole>
<pocId>sample string 1</pocId>
<user>sample string 4</user>
</AskedController.Asked>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
API_Response| Name | Description | Type | Additional information |
|---|---|---|---|
| response_code | string |
None. |
|
| response_text | string |
None. |
|
| response_description | string |
None. |
|
| transactionId | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"response_code": "sample string 1",
"response_text": "sample string 2",
"response_description": "sample string 3",
"transactionId": "sample string 4"
}
application/xml, text/xml
Sample:
<API_Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models"> <response_code>sample string 1</response_code> <response_description>sample string 3</response_description> <response_text>sample string 2</response_text> <transactionId>sample string 4</transactionId> </API_Response>