POST api/TaskManagement/AddFieldResources
Request Information
URI Parameters
None.
Body Parameters
AddResourcesModalName | Description | Type | Additional information |
---|---|---|---|
Projecttype | string |
None. |
|
FieldID_project | integer |
None. |
|
Userids | Collection of integer |
None. |
|
Roleids | Collection of integer |
None. |
|
FieldID | Collection of integer |
None. |
|
companyid | integer |
None. |
|
userid | integer |
None. |
|
resourid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Projecttype": "sample string 1", "FieldID_project": 1, "Userids": [ 1, 1 ], "Roleids": [ 1, 1 ], "FieldID": [ 1, 1 ], "companyid": 1, "userid": 1, "resourid": 1 }
application/xml, text/xml
Sample:
<TaskManagementController.AddResourcesModal xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaskManagementServices.Controllers"> <FieldID xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:int>1</d2p1:int> <d2p1:int>1</d2p1:int> </FieldID> <FieldID_project>1</FieldID_project> <Projecttype>sample string 1</Projecttype> <Roleids xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:int>1</d2p1:int> <d2p1:int>1</d2p1:int> </Roleids> <Userids xmlns:d2p1="http://schemas.datacontract.org/2004/07/System"> <d2p1:int>1</d2p1:int> <d2p1:int>1</d2p1:int> </Userids> <companyid>1</companyid> <resourid>1</resourid> <userid>1</userid> </TaskManagementController.AddResourcesModal>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |