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 .csv suffix or ?format=csv
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/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: text/csv 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"}]}