| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Members | form | List<OrganizationMember> | Yes | |
| MemberInvites | form | List<OrganizationMemberInvite> | Yes | |
| Subscriptions | form | List<OrganizationSubscription> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| OrganizationId | form | int | No | |
| UserId | form | int | No | |
| UserName | form | string | Yes | |
| IsOwner | form | bool | No | |
| IsModerator | form | bool | No | |
| DenyAll | form | bool | No | |
| DenyPosts | form | bool | No | |
| DenyComments | form | bool | No | |
| Notes | form | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| OrganizationId | form | int | No | |
| UserId | form | int | No | |
| UserName | form | string | Yes | |
| 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 | Yes | |
| PostTypes | form | string[] | Yes | |
| 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 /csv/reply/GetUserOrganizations 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"}]}