TechStacks!

<back to all web services

GetUserOrganizations

Posts
Requires Authentication
The following routes are available for this service:
All Verbs/user/organizations
GetUserOrganizationsResponse Parameters:
NameParameterData TypeRequiredDescription
MembersformList<OrganizationMember>No
MemberInvitesformList<OrganizationMemberInvite>No
SubscriptionsformList<OrganizationSubscription>No
OrganizationMember Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
IsOwnerformboolNo
IsModeratorformboolNo
DenyAllformboolNo
DenyPostsformboolNo
DenyCommentsformboolNo
NotesformstringNo
OrganizationMemberInvite Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
DismissedformDateTime?No
OrganizationSubscription Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
OrganizationIdformintNo
UserIdformintNo
UserNameformstringNo
PostTypesformstring[]No
FrequencyDaysformint?No
LastSyncedIdformlong?No
LastSyncedformDateTime?No
CreatedformDateTimeNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /user/organizations HTTP/1.1 
Host: techstacks.io 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"members":[{"id":0,"organizationId":0,"userId":0,"userName":"String","isOwner":false,"isModerator":false,"denyAll":false,"denyPosts":false,"denyComments":false,"notes":"String"}],"memberInvites":[{"id":0,"organizationId":0,"userId":0,"userName":"String","dismissed":"0001-01-01T00:00:00.0000000"}],"subscriptions":[{"id":0,"organizationId":0,"userId":0,"userName":"String","postTypes":["String"],"frequencyDays":0,"lastSyncedId":0,"lastSynced":"0001-01-01T00:00:00.0000000","created":"0001-01-01T00:00:00.0000000"}]}