| 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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /jsv/reply/GetUserOrganizations 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
}
]
}