All Verbs | /user/organizations |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Members | form | List<OrganizationMember> | No | |
MemberInvites | form | List<OrganizationMemberInvite> | No | |
Subscriptions | form | List<OrganizationSubscription> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
OrganizationId | form | int | No | |
UserId | form | int | No | |
UserName | form | string | No | |
IsOwner | form | bool | No | |
IsModerator | form | bool | No | |
DenyAll | form | bool | No | |
DenyPosts | form | bool | No | |
DenyComments | form | bool | No | |
Notes | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | int | No | |
OrganizationId | form | int | No | |
UserId | form | int | No | |
UserName | form | string | No | |
Dismissed | form | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | long | No | |
OrganizationId | form | int | No | |
UserId | form | int | No | |
UserName | form | string | No | |
PostTypes | form | string[] | No | |
FrequencyDays | form | int? | No | |
LastSyncedId | form | long? | No | |
LastSynced | form | DateTime? | No | |
Created | form | DateTime | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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 } ] }