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 .jsv suffix or ?format=jsv

HTTP + JSV

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: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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-01
		}
	],
	subscriptions: 
	[
		{
			id: 0,
			organizationId: 0,
			userId: 0,
			userName: String,
			postTypes: 
			[
				String
			],
			frequencyDays: 0,
			lastSyncedId: 0,
			lastSynced: 0001-01-01,
			created: 0001-01-01
		}
	]
}