POST cubes/projectinit/editprojectresponsible/{userConnectedID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userConnectedID

integer

Required

Body Parameters

EditProjectResponsability
NameDescriptionTypeAdditional information
ProjectID

integer

None.

ProjectManagerID

integer

None.

OfficeWorkerID

integer

None.

ContactPersonID

integer

None.

ContactPersonLocationID

integer

None.

ContactPersonOrderID

integer

None.

ListInternalEditors

Collection of integer

None.

ListInternalInformedEmployees

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ListInternalEditors": [
    1,
    2
  ],
  "ListInternalInformedEmployees": [
    1,
    2
  ],
  "ProjectID": 1,
  "ProjectManagerID": 2,
  "OfficeWorkerID": 3,
  "ContactPersonID": 4,
  "ContactPersonLocationID": 5,
  "ContactPersonOrderID": 6
}

application/xml, text/xml

Sample:
<EditProjectResponsability xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CubesApi.Models">
  <ContactPersonID>4</ContactPersonID>
  <ContactPersonLocationID>5</ContactPersonLocationID>
  <ContactPersonOrderID>6</ContactPersonOrderID>
  <ListInternalEditors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ListInternalEditors>
  <ListInternalInformedEmployees xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
  </ListInternalInformedEmployees>
  <OfficeWorkerID>3</OfficeWorkerID>
  <ProjectID>1</ProjectID>
  <ProjectManagerID>2</ProjectManagerID>
</EditProjectResponsability>

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 'EditProjectResponsability'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>