POST SaveProjectActivity/DeleteActivity/{activityID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
activityID

integer

Required

Body Parameters

UserConnectedInfo
NameDescriptionTypeAdditional information
EmployeeConnectedID

integer

None.

UserConnectedID

integer

None.

UserConnectedName

string

None.

UserConnectedAzureID

string

None.

UserRole

string

None.

UserEmail

string

None.

IsEmployee

boolean

None.

CostUnit

string

None.

ListUserRoles

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeConnectedID": 1,
  "UserConnectedID": 2,
  "UserConnectedName": "sample string 3",
  "UserConnectedAzureID": "sample string 4",
  "UserRole": "sample string 5",
  "UserEmail": "sample string 6",
  "IsEmployee": true,
  "CostUnit": "sample string 8",
  "ListUserRoles": "sample string 9"
}

application/xml, text/xml

Sample:
<UserConnectedInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CubesApi.Classes">
  <CostUnit>sample string 8</CostUnit>
  <EmployeeConnectedID>1</EmployeeConnectedID>
  <IsEmployee>true</IsEmployee>
  <ListUserRoles>sample string 9</ListUserRoles>
  <UserConnectedAzureID>sample string 4</UserConnectedAzureID>
  <UserConnectedID>2</UserConnectedID>
  <UserConnectedName>sample string 3</UserConnectedName>
  <UserEmail>sample string 6</UserEmail>
  <UserRole>sample string 5</UserRole>
</UserConnectedInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserConnectedInfo'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.