GET api/Invitations?projectId={projectId}&spaceId={spaceId}

Get user invitations for a given subproject/project family

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

project id

integer

Required

spaceId

space id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Get user invitations for a given subproject/project family

API_Data_ListOfUserInvitationModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

Collection of UserInvitationModel

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": [
    {
      "EmailAddress": "sample string 1",
      "Phone": "sample string 2",
      "InvitedTimeStamp": "2020-11-27 01:38:44",
      "ProjectID": 3,
      "SpaceID": 4,
      "PPMAccountTypeID": 1,
      "ReqAccountTypeID": 1,
      "DevAccountTypeID": 1,
      "LibAccountTypeID": 1,
      "RunAccountTypeID": 1,
      "KWAccountTypeID": 1,
      "DefectAccountTypeID": 1
    },
    {
      "EmailAddress": "sample string 1",
      "Phone": "sample string 2",
      "InvitedTimeStamp": "2020-11-27 01:38:44",
      "ProjectID": 3,
      "SpaceID": 4,
      "PPMAccountTypeID": 1,
      "ReqAccountTypeID": 1,
      "DevAccountTypeID": 1,
      "LibAccountTypeID": 1,
      "RunAccountTypeID": 1,
      "KWAccountTypeID": 1,
      "DefectAccountTypeID": 1
    }
  ]
}

application/xml, text/xml

Sample:
<API_Data_ArrayOfUserInvitationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
    <d2p1:UserInvitationModel>
      <d2p1:DefectAccountTypeID>1</d2p1:DefectAccountTypeID>
      <d2p1:DevAccountTypeID>1</d2p1:DevAccountTypeID>
      <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
      <d2p1:InvitedTimeStamp>2020-11-27T01:38:44.7730508-08:00</d2p1:InvitedTimeStamp>
      <d2p1:KWAccountTypeID>1</d2p1:KWAccountTypeID>
      <d2p1:LibAccountTypeID>1</d2p1:LibAccountTypeID>
      <d2p1:PPMAccountTypeID>1</d2p1:PPMAccountTypeID>
      <d2p1:Phone>sample string 2</d2p1:Phone>
      <d2p1:ProjectID>3</d2p1:ProjectID>
      <d2p1:ReqAccountTypeID>1</d2p1:ReqAccountTypeID>
      <d2p1:RunAccountTypeID>1</d2p1:RunAccountTypeID>
      <d2p1:SpaceID>4</d2p1:SpaceID>
    </d2p1:UserInvitationModel>
    <d2p1:UserInvitationModel>
      <d2p1:DefectAccountTypeID>1</d2p1:DefectAccountTypeID>
      <d2p1:DevAccountTypeID>1</d2p1:DevAccountTypeID>
      <d2p1:EmailAddress>sample string 1</d2p1:EmailAddress>
      <d2p1:InvitedTimeStamp>2020-11-27T01:38:44.7730508-08:00</d2p1:InvitedTimeStamp>
      <d2p1:KWAccountTypeID>1</d2p1:KWAccountTypeID>
      <d2p1:LibAccountTypeID>1</d2p1:LibAccountTypeID>
      <d2p1:PPMAccountTypeID>1</d2p1:PPMAccountTypeID>
      <d2p1:Phone>sample string 2</d2p1:Phone>
      <d2p1:ProjectID>3</d2p1:ProjectID>
      <d2p1:ReqAccountTypeID>1</d2p1:ReqAccountTypeID>
      <d2p1:RunAccountTypeID>1</d2p1:RunAccountTypeID>
      <d2p1:SpaceID>4</d2p1:SpaceID>
    </d2p1:UserInvitationModel>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_ArrayOfUserInvitationModel>