GET api/Invitations?projectId={projectId}&spaceId={spaceId}
Get user invitations for a given subproject/project family
Request Information
URI Parameters
Name | Description | Type | Additional 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_ListOfUserInvitationModelName | Description | Type | Additional 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": "2024-12-21 15:11:16", "ProjectID": 3, "SpaceID": 4, "PPMAccountTypeID": 1, "ReqAccountTypeID": 1, "DevAccountTypeID": 1, "LibAccountTypeID": 1, "RunAccountTypeID": 1, "KWAccountTypeID": 1, "DefectAccountTypeID": 1, "ServerPath": "sample string 5" }, { "EmailAddress": "sample string 1", "Phone": "sample string 2", "InvitedTimeStamp": "2024-12-21 15:11:16", "ProjectID": 3, "SpaceID": 4, "PPMAccountTypeID": 1, "ReqAccountTypeID": 1, "DevAccountTypeID": 1, "LibAccountTypeID": 1, "RunAccountTypeID": 1, "KWAccountTypeID": 1, "DefectAccountTypeID": 1, "ServerPath": "sample string 5" } ] }
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>2024-12-21T19:11:16.7744388-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:ServerPath>sample string 5</d2p1:ServerPath> <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>2024-12-21T19:11:16.7744388-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:ServerPath>sample string 5</d2p1:ServerPath> <d2p1:SpaceID>4</d2p1:SpaceID> </d2p1:UserInvitationModel> </Data> <Error> <ErrorCode>1</ErrorCode> <ErrorMessage>sample string 1</ErrorMessage> </Error> <Success>true</Success> </API_Data_ArrayOfUserInvitationModel>