{"swagger":"2.0","info":{"version":"v1","title":"Raklet API V1"},"host":"api.raklet.com","schemes":["https"],"paths":{"/token":{"post":{"tags":["Auth"],"summary":"Exchanges a Raklet admin user's username and password for a bearer access token.","description":"OAuth 2.0 resource owner password credentials grant. Send the returned access_token as \"Authorization: Bearer <access_token>\" on every other request. The token carries that admin user's own permissions for the organisations they administer. Pass an optional space-delimited scope to narrow it; unrecognised values are ignored and the granted set is echoed back in the scope field of the response. Available scopes: contacts:read, contacts:write, events:read, events:write, payments:read, payments:write, content:read, content:write, settings:read.","operationId":"Auth_Token","consumes":["application/x-www-form-urlencoded"],"produces":["application/json"],"parameters":[{"name":"grant_type","in":"formData","description":"Must be \"password\".","required":true,"type":"string","default":"password"},{"name":"username","in":"formData","description":"The Raklet admin user's email address.","required":true,"type":"string"},{"name":"password","in":"formData","description":"The Raklet admin user's password.","required":true,"type":"string"},{"name":"scope","in":"formData","description":"Optional space-delimited scopes. Omit for a token with the user's full permissions.","required":false,"type":"string"}],"responses":{"200":{"description":"access_token, token_type, expires_in, userName and, when scopes were requested, the granted scope.","schema":{"type":"object"}},"400":{"description":"invalid_grant: the username or password is incorrect.","schema":{"type":"object"}}},"security":[]}},"/app/actionlogs":{"get":{"tags":["ActionLogs"],"summary":"Returns the organisation-wide Action Log feed, oldest record first.","description":"This endpoint authenticates with an organisation API token, not with the bearer token\r\nissued by POST /token. Exchange the Organisation ID and API Token from Settings &gt; Zapier\r\nAPI Tokens at POST /public/account/auth, then send the returned access_token as\r\n\"Authorization: Bearer &lt;access_token&gt;\". The organisation is derived from the token and\r\ncannot be selected by the caller. To read the next page, send the Continuation value from\r\nthe response back as requestContinuation together with the same filters.","operationId":"ActionLogs_GetActionLogs","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"pageSize","in":"query","description":"Records per page, between 1 and 500.","required":false,"type":"integer","format":"int32"},{"name":"requestContinuation","in":"query","description":"Continuation value returned by the previous page.","required":false,"type":"string"},{"name":"actionKeys","in":"query","description":"Comma-separated action keys, at most 50 values.","required":false,"type":"string"},{"name":"organisationMembershipId","in":"query","description":"Restricts the feed to a single contact.","required":false,"type":"string","format":"uuid"},{"name":"startDate","in":"query","description":"Inclusive lower bound on the record timestamp.","required":false,"type":"string","format":"date-time"},{"name":"endDate","in":"query","description":"Inclusive upper bound on the record timestamp.","required":false,"type":"string","format":"date-time"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.v2.Common.RakletListResponse`1[[Raklet.Api.Dtos.ActionLog.ActionLogApiDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/applications":{"get":{"tags":["AdminApplications"],"summary":"Lists membership application form submissions for an organisation, newest first. Manager role.","operationId":"AdminApplications_GetApplications","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","required":false,"type":"integer","format":"int32"},{"name":"searchText","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.v2.Common.RakletListResponse`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}}}},"/organisations/{organisationId}/debts":{"get":{"tags":["AdminDebts"],"summary":"Lists every outstanding debt recorded against the organisation's contacts. Manager role.","operationId":"AdminDebts_GetDebts","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DebtDto"}}}}},"post":{"tags":["AdminDebts"],"summary":"Records a new debt against a contact. Manager role.","operationId":"AdminDebts_PostDebts","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DebtPostDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DebtDto"}}}}},"/organisations/{organisationId}/debts/{id}":{"get":{"tags":["AdminDebts"],"summary":"Returns one debt record by id. Manager role.","operationId":"AdminDebts_GetDebt","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DebtDto"}}}},"put":{"tags":["AdminDebts"],"summary":"Updates an existing debt record. Manager role.","operationId":"AdminDebts_PutDebts","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DebtPostDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["AdminDebts"],"summary":"Deletes a debt record. Manager role.","operationId":"AdminDebts_DeleteDebts","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/organisations/{organisationId}/donations":{"get":{"tags":["AdminDonations"],"summary":"Lists the donations received by the organisation. Manager role.","operationId":"AdminDonations_GetDonations","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DonationDto"}}}}},"post":{"tags":["AdminDonations"],"summary":"Records a donation against a contact and campaign. Manager role.","operationId":"AdminDonations_PostDonations","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DonationPostDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DonationDto"}}}}},"/organisations/{organisationId}/donations/{id}":{"get":{"tags":["AdminDonations"],"summary":"Returns one donation by id. Manager role.","operationId":"AdminDonations_GetDonation","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DonationDto"}}}},"put":{"tags":["AdminDonations"],"summary":"Updates an existing donation record. Manager role.","operationId":"AdminDonations_PutDonations","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.DonationPostDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["AdminDonations"],"summary":"Deletes a donation record. Manager role.","operationId":"AdminDonations_DeleteDonations","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/organisations/{organisationId}/payments":{"get":{"tags":["AdminPayments"],"summary":"Lists the payments recorded for the organisation. Manager role.","operationId":"AdminPayments_GetPayments","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentDto"}}}}},"post":{"tags":["AdminPayments"],"summary":"Records a payment against a contact, optionally settling a debt. Manager role.","operationId":"AdminPayments_PostPayments","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentPostDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentDto"}}}}},"/organisations/{organisationId}/payments/{id}":{"get":{"tags":["AdminPayments"],"summary":"Returns one payment by id. Manager role.","operationId":"AdminPayments_GetAdminPayment","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentDto"}}}},"put":{"tags":["AdminPayments"],"summary":"Updates an existing payment record. Manager role.","operationId":"AdminPayments_PutPayments","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentPostDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["AdminPayments"],"summary":"Deletes a payment record. Manager role.","operationId":"AdminPayments_DeletePayments","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentDto"}}}}},"/organisations/{organisationId}/plans":{"get":{"tags":["AdminPlans"],"summary":"Lists the organisation's membership plans and their fees. Manager role.","operationId":"AdminPlans_GetPlans","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.v2.Common.RakletListResponse`1[[Raklet.Api.Dtos.Membership.CustomPlanDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/plans/{id}":{"get":{"tags":["AdminPlans"],"summary":"Returns one membership plan by id. Manager role.","operationId":"AdminPlans_GetPlan","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.v2.Common.RakletActionResponse`1[[Raklet.Api.Dtos.Membership.CustomPlanDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/admin/organisations/{organisationId}/tags":{"get":{"tags":["AdminTag"],"summary":"Lists the organisation's tags, optionally filtered by a name fragment. Manager role.","operationId":"AdminTag_GetTags","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"text","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminTagDto"}}}}},"post":{"tags":["AdminTag"],"summary":"Creates a tag. Manager role.","operationId":"AdminTag_PostTag","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagDto"}}}}},"/admin/organisations/{organisationId}/tags/{id}":{"get":{"tags":["AdminTag"],"summary":"Returns one tag by id. Manager role.","operationId":"AdminTag_GetTag","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminTagDto"}}}},"put":{"tags":["AdminTag"],"summary":"Renames or restyles an existing tag. Manager role.","operationId":"AdminTag_PutTag","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagDto"}}],"responses":{"204":{"description":"No Content"}}},"delete":{"tags":["AdminTag"],"summary":"Deletes a tag and removes it from every contact carrying it. Manager role.","operationId":"AdminTag_DeleteTag","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminTagDto"}}}}},"/admin/organisations/{organisationId}/tags/{id}/AddMembers":{"post":{"tags":["AdminTag"],"summary":"Applies a tag to a list of contacts. Manager role.","operationId":"AdminTag_PostAddMembersTag","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"memberList","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagMemberListDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagMemberListDto"}}}}},"/admin/organisations/{organisationId}/tags/{id}/RemoveMembers":{"post":{"tags":["AdminTag"],"summary":"Removes a tag from a list of contacts. Manager role.","operationId":"AdminTag_PostRemoveMembersTag","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"memberList","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagMemberListDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagMemberListDto"}}}}},"/admin/organisations/{organisationId}/tags/{id}/members":{"get":{"tags":["AdminTag"],"summary":"Lists the contacts carrying a tag, one page at a time. Manager role.","operationId":"AdminTag_GetTagMembers","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminTagMembersDto"}}}}},"/public/account/auth":{"post":{"tags":["ApiAccount"],"summary":"Exchanges an organisation API token for the access token used by the integration API.","description":"Create the Organisation ID and API Token under Settings &gt; Zapier API Tokens in the admin\r\npanel, then send the returned access_token as \"Authorization: Bearer &lt;access_token&gt;\".\r\nThe bearer token issued by POST /token (admin email and password) is not accepted by the\r\nintegration API.","operationId":"ApiAccount_Auth","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"model","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.ApiModels.AuthModel"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}},"security":[]}},"/public/account/me":{"get":{"tags":["ApiAccount"],"summary":"Returns the organisation the supplied API token belongs to. Use it to verify a token.","operationId":"ApiAccount_Me","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/organisations/{organisationId}/boards":{"get":{"tags":["Boards"],"summary":"Lists the organisation's discussion boards, optionally filtered by name. Manager role.","operationId":"Boards_GetList","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Boards"],"summary":"Creates a discussion board. Manager role.","operationId":"Boards_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"model","in":"body","required":true,"schema":{"$ref":"#/definitions/Services.Dtos.CategoryDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/organisations/{organisationId}/boards/{boardId}":{"get":{"tags":["Boards"],"summary":"Returns one discussion board by id. Manager role.","operationId":"Boards_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"boardId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Boards"],"summary":"Updates a discussion board's name and settings. Manager role.","operationId":"Boards_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"boardId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"model","in":"body","required":true,"schema":{"$ref":"#/definitions/Services.Dtos.CategoryDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Boards"],"summary":"Deletes a discussion board. Manager role.","operationId":"Boards_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"boardId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/organisations/{organisationId}/boards/{boardId}/posts":{"get":{"tags":["Boards"],"summary":"Lists the posts on a discussion board, one page at a time. Manager role.","operationId":"Boards_GetPost","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"boardId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/app/organisations/{organisationId}/cities":{"get":{"tags":["Cities"],"summary":"Lists the cities the organisation's contacts live in, for directory filtering. Manager role.","operationId":"Cities_GetCities","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CityDto"}}}}}},"/app/organisations/{organisationId}/cities/details":{"get":{"tags":["Cities"],"summary":"Returns the contacts in one city, with that city's contact count. Manager role.","operationId":"Cities_GetCity","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"name","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CityDto"}}}}},"/app/organisations/{organisationId}/cities/count":{"get":{"tags":["Cities"],"summary":"Returns how many distinct cities the organisation's contacts live in. Manager role.","operationId":"Cities_GetCitiesCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/app/organisations/{organisationId}/companies":{"get":{"tags":["Companies"],"summary":"Lists the companies the organisation's contacts work for. Manager role.","operationId":"Companies_GetCompanies","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CompanyDto"}}}}}},"/app/organisations/{organisationId}/companies/details":{"get":{"tags":["Companies"],"summary":"Returns the contacts working at one company. Manager role.","operationId":"Companies_GetCompanyDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"name","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CompanyDto"}}}}},"/app/organisations/{organisationId}/companies/count":{"get":{"tags":["Companies"],"summary":"Returns how many distinct companies the organisation's contacts work for. Manager role.","operationId":"Companies_GetCompaniesCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/organisations/{organisationId}/contacts":{"get":{"tags":["Contact"],"summary":"This method allows you to filter out your contacts.","description":"For more information, see https://help.raklet.com/en/articles/5998452-how-to-search-organisation-contacts","operationId":"Contact_GetContacts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"pageSize","in":"query","description":"","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","description":"","required":false,"type":"integer","format":"int32"},{"name":"q","in":"query","description":"json to base64 query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Common.GenericFilterListDto`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"post":{"tags":["Contact"],"summary":"Creates a contact in the organisation. Manager role.","operationId":"Contact_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.UpdateContactDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/details":{"get":{"tags":["Contact"],"summary":"Returns one contact with every field, including custom fields. Manager role.","operationId":"Contact_GetDetails","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}":{"put":{"tags":["Contact"],"summary":"Updates a contact's core fields. Manager role.","operationId":"Contact_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.UpdateContactDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}},"delete":{"tags":["Contact"],"summary":"Deletes a contact and their membership of the organisation. Manager role.","operationId":"Contact_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/update":{"put":{"tags":["Contact"],"summary":"Replaces a contact record, including custom fields and sub-records. Manager role.","operationId":"Contact_PutContact","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"model","in":"body","required":true,"schema":{"$ref":"#/definitions/Models.Dtos.v2.Contacts.UpsertContactDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/PhotoUrl":{"post":{"tags":["Contact"],"summary":"Sets a contact's profile photo from a URL that Raklet downloads and stores. Manager role.","operationId":"Contact_PostPhotoUrl","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","description":"The organisation the contact belongs to.","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","description":"The contact whose photo is being replaced.","required":true,"type":"string","format":"uuid"},{"name":"contactPhoto","in":"body","description":"Carries the source image URL.","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.ContactPhoto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/photo":{"post":{"tags":["Contact"],"summary":"Uploads a contact's profile photo as multipart form data. Manager role.","operationId":"Contact_PostPhoto","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/addresses/{id}":{"put":{"tags":["ContactAddress"],"summary":"Updates one of a contact's addresses. The contact themselves, or a manager.","operationId":"ContactAddress_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.AddressDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.AddressDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"delete":{"tags":["ContactAddress"],"summary":"Deletes one of a contact's addresses. The contact themselves, or a manager.","operationId":"ContactAddress_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.AddressDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/addresses":{"post":{"tags":["ContactAddress"],"summary":"Adds an address to a contact. The contact themselves, or a manager.","operationId":"ContactAddress_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.AddressDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.AddressDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/addresses/{id}/SetPrimary":{"patch":{"tags":["ContactAddress"],"summary":"Makes one of a contact's addresses the primary one. The contact themselves, or a manager.","operationId":"ContactAddress_SetPrimary","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/educations/{id}":{"put":{"tags":["ContactEducation"],"summary":"Updates one of a contact's education records. The contact themselves, or a manager.","operationId":"ContactEducation_PutEducation","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.EducationDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EducationDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"delete":{"tags":["ContactEducation"],"summary":"Deletes one of a contact's education records. The contact themselves, or a manager.","operationId":"ContactEducation_DeleteEducation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EducationDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/educations":{"post":{"tags":["ContactEducation"],"summary":"Adds an education record to a contact. The contact themselves, or a manager.","operationId":"ContactEducation_PostEducation","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.EducationDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EducationDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/emails/{id}":{"put":{"tags":["ContactEmail"],"summary":"Updates one of a contact's email addresses. The contact themselves, or a manager.","operationId":"ContactEmail_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.EmailDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EmailDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"delete":{"tags":["ContactEmail"],"summary":"Deletes one of a contact's email addresses. The contact themselves, or a manager.","operationId":"ContactEmail_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EmailDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/emails":{"post":{"tags":["ContactEmail"],"summary":"Adds an email address to a contact. The contact themselves, or a manager.","operationId":"ContactEmail_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.EmailDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EmailDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/emails/{id}/SendActivation":{"patch":{"tags":["ContactEmail"],"summary":"Sends a verification email to one of a contact's email addresses. The contact themselves, or a manager.","operationId":"ContactEmail_SendActivation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/emails/{id}/SetPrimary":{"patch":{"tags":["ContactEmail"],"summary":"Makes one of a contact's email addresses the primary one. The contact themselves, or a manager.","operationId":"ContactEmail_SetPrimary","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/phones/{id}":{"put":{"tags":["ContactPhone"],"summary":"Updates one of a contact's phone numbers. The contact themselves, or a manager.","operationId":"ContactPhone_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.PhoneDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.PhoneDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"delete":{"tags":["ContactPhone"],"summary":"Deletes one of a contact's phone numbers. The contact themselves, or a manager.","operationId":"ContactPhone_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.PhoneDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/phones":{"post":{"tags":["ContactPhone"],"summary":"Adds a phone number to a contact. The contact themselves, or a manager.","operationId":"ContactPhone_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.PhoneDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.PhoneDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/phones/{id}/SendActivation":{"patch":{"tags":["ContactPhone"],"summary":"Sends a verification code by SMS to one of a contact's phone numbers. The contact themselves, or a manager.","operationId":"ContactPhone_SendActivation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/phones/{id}/Activate/{code}":{"patch":{"tags":["ContactPhone"],"summary":"Verifies a phone number with the code sent by SMS. The contact themselves, or a manager.","operationId":"ContactPhone_Activate","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"code","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/phones/{id}/SetPrimary":{"patch":{"tags":["ContactPhone"],"summary":"Makes one of a contact's phone numbers the primary one. The contact themselves, or a manager.","operationId":"ContactPhone_SetPrimary","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/works/{id}":{"put":{"tags":["ContactWork"],"summary":"Updates one of a contact's work history records. The contact themselves, or a manager.","operationId":"ContactWork_PutWork","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.WorkDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.WorkDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"delete":{"tags":["ContactWork"],"summary":"Deletes one of a contact's work history records. The contact themselves, or a manager.","operationId":"ContactWork_DeleteWork","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.WorkDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/contacts/{organisationMembershipId}/works":{"post":{"tags":["ContactWork"],"summary":"Adds a work history record to a contact. The contact themselves, or a manager.","operationId":"ContactWork_PostWork","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.WorkDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.WorkDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/app/organisations/{organisationId}/corporateMembers":{"get":{"tags":["CorporateMembers"],"summary":"Lists the organisation's corporate members, optionally filtered by name. Manager role.","operationId":"CorporateMembers_GetCorporateMembers","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CorporateMemberDto"}}}}}},"/app/organisations/{organisationId}/corporateMembers/{id}":{"get":{"tags":["CorporateMembers"],"summary":"Returns one corporate member and its sub-members. Manager role.","operationId":"CorporateMembers_GetCorporateMember","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CorporateMemberDto"}}}}},"/app/organisations/{organisationId}/corporateMembers/count":{"get":{"tags":["CorporateMembers"],"summary":"Returns how many corporate members the organisation has. Manager role.","operationId":"CorporateMembers_GetCorporateMembersCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/app/organisations/{organisationId}/countries":{"get":{"tags":["Countries"],"summary":"Lists the countries the organisation's contacts live in, for directory filtering. Manager role.","operationId":"Countries_GetCountries","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CountryDto"}}}}}},"/app/organisations/{organisationId}/countries/details":{"get":{"tags":["Countries"],"summary":"Returns the contacts in one country. Manager role.","operationId":"Countries_GetCountry","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"name","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CountryDto"}}}}}},"/app/organisations/{organisationId}/countries/count":{"get":{"tags":["Countries"],"summary":"Returns how many distinct countries the organisation's contacts live in. Manager role.","operationId":"Countries_GetCountriesCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/app/organisations/{organisationId}/creditCard/{organisationMembershipId}/InstallmentOptions":{"patch":{"tags":["CreditCard"],"summary":"Returns the instalment plans a card is eligible for, before charging it. The contact themselves, or a manager.","operationId":"CreditCard_PatchInstallmentOptions","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/CreditCardInstallmentRequestDto"}}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/CreditCardInstallmentResponseDto"}}}}}},"/app/organisations/{organisationId}/creditCard/{organisationMembershipId}":{"post":{"tags":["CreditCard"],"summary":"Charges a contact's credit card for their outstanding membership fees. The contact themselves, or a manager.","operationId":"CreditCard_PostChargeCreditCard","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/CreditCardChargeRequestDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/CreditCardChargeResponseDto"}}}}},"/app/organisations/{organisationId}/donationCampaigns":{"get":{"tags":["DonationCampaigns"],"summary":"Lists the organisation's donation campaigns, one page at a time. Any organisation role.","operationId":"DonationCampaigns_GetDonationCampaigns","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"offset","in":"query","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Services.Dtos.DonationCampaignDto"}}}}}},"/app/organisations/{organisationId}/donationCampaigns/{id}":{"get":{"tags":["DonationCampaigns"],"summary":"Returns one donation campaign with its progress towards target. Any organisation role.","operationId":"DonationCampaigns_GetDonationCampaign","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Services.Dtos.DonationCampaignDto"}}}}},"/app/organisations/{organisationId}/donationCampaigns/count":{"get":{"tags":["DonationCampaigns"],"summary":"Returns how many donation campaigns the organisation has. Any organisation role.","operationId":"DonationCampaigns_GetDonationCampaignsCount","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/app/organisations/{organisationId}/donationCampaigns/{organisationMembershipId}":{"post":{"tags":["DonationCampaigns"],"summary":"Records a test donation against a campaign for a contact. Any organisation role.","operationId":"DonationCampaigns_PostTestDonationCampaign","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Services.Dtos.DonationCampaignDto"}}}}},"/app/organisations/{organisationId}/donations/{organisationMembershipId}":{"get":{"tags":["Donations"],"summary":"Lists the donations one contact has made. The contact themselves, or a manager.","operationId":"Donations_GetDonations","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Services.Dtos.DonationCampaignDto"}}}}}},"/app/organisations/{organisationId}/events":{"get":{"tags":["Events"],"summary":"Lists the organisation's events in a date range, optionally filtered by name or visibility. Manager role.","operationId":"Events_GetEvents","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"endDate","in":"query","required":true,"type":"string","format":"date-time"},{"name":"requestContinuation","in":"query","required":false,"type":"string"},{"name":"s","in":"query","required":false,"type":"string"},{"name":"isPublic","in":"query","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventDto"}}}}}},"/app/organisations/{organisationId}/events/{id}":{"get":{"tags":["Events"],"summary":"Returns one event with its schedule, location and ticket summary. Manager role.","operationId":"Events_GetEvent","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventDto"}}}}},"/app/organisations/{organisationId}/events/{id}/ticketoptions":{"get":{"tags":["Events"],"summary":"Returns the ticket types on sale for an event, with prices and remaining stock. Manager role.","operationId":"Events_GetTicketOptions","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventTicketOptionDto"}}}}},"/app/organisations/{organisationId}/events/{id}/tickets":{"post":{"tags":["Events"],"summary":"Reserves tickets for an event, returning the order to pay for. Manager role.","operationId":"Events_PostTickets","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"eventTicketOrderDtoList","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventTicketOrdersDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventTicketDto"}}}}},"/app/organisations/{organisationId}/events/{id}/tickets/{ticketId}":{"get":{"tags":["Events"],"summary":"Returns one ticket order for an event. Manager role.","operationId":"Events_GetTickets","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"ticketId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventTicketDto"}}}}},"/app/organisations/{organisationId}/events/{id}/tickets/{ticketId}/pay":{"post":{"tags":["Events"],"summary":"Charges a credit card for a reserved ticket order. Manager role.","operationId":"Events_PostChargeCreditCardTicket","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"ticketId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.CreditCardChargeTicketRequestDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.CreditCardChargeTicketResponseDto"}}}}},"/app/organisations/{organisationId}/jobs":{"get":{"tags":["JobPostings"],"summary":"Lists the organisation's job postings, one page at a time. Manager role.","operationId":"JobPostings_GetJobPostings","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"offset","in":"query","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.JobPosting.JobPostingDto"}}}}}},"/app/organisations/{organisationId}/jobs/{id}":{"get":{"tags":["JobPostings"],"summary":"Returns one job posting. Manager role.","operationId":"JobPostings_GetJobPosting","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.JobPosting.JobPostingDto"}}}}},"/app/organisations/{organisationId}/jobs/count":{"get":{"tags":["JobPostings"],"summary":"Returns how many job postings the organisation has. Manager role.","operationId":"JobPostings_GetJobPostingsCount","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/app/organisations/{organisationId}/jobseekers":{"get":{"tags":["JobSeekers"],"summary":"Lists the contacts who marked themselves as open to work. Manager role.","operationId":"JobSeekers_GetJobPostings","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Jobs.JobSeekersController+JobSeekerDto"}}}}}},"/app/organisations/{organisationId}/jobseekers/count":{"get":{"tags":["JobSeekers"],"summary":"Returns how many contacts marked themselves as open to work. Manager role.","operationId":"JobSeekers_GetJobPostingsCount","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/app/organisations/{organisationId}/events/submissions":{"post":{"tags":["MemberEventSubmissions"],"summary":"POST /app/organisations/{orgId}/events/submissions. A member submits an event; 403 while the organisation has member event submissions turned off.","operationId":"MemberEventSubmissions_Submit","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"command","in":"body","required":true,"schema":{"$ref":"#/definitions/Models.Commands.MemberEventSubmissionCommand"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/app/organisations/{organisationId}/events/submissions/{id}":{"patch":{"tags":["MemberEventSubmissions"],"summary":"PATCH /app/organisations/{orgId}/events/submissions/{id}. The submitter edits their event; 403 while the organisation has member event submissions turned off.","operationId":"MemberEventSubmissions_Edit","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"},{"name":"command","in":"body","required":true,"schema":{"$ref":"#/definitions/Models.Commands.MemberEventEditCommand"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/app/organisations/{organisationId}/events/submissions/mine":{"get":{"tags":["MemberEventSubmissions"],"summary":"GET /app/organisations/{orgId}/events/submissions/mine. The signed-in member's own submissions; 403 while the organisation has member event submissions turned off.","operationId":"MemberEventSubmissions_Mine","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","required":false,"type":"integer","format":"int32"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/app/organisations/{organisationId}/payments/{organisationMembershipId}/membershipFees":{"get":{"tags":["MembershipFees"],"summary":"Lists one contact's membership fees, paid and outstanding. The contact themselves, or a manager.","operationId":"MembershipFees_GetMembershipFees","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/MembershipFeeDto"}}}}}},"/app/organisations/{organisationId}/settings":{"get":{"tags":["OrganisationSettings"],"summary":"Returns the organisation's public settings: branding, modules enabled and portal options. Any organisation role.","operationId":"OrganisationSettings_GetOrganisationSettings","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/OrganisationSettingsDto"}}}}}},"/{permalink}/pages/{slug}":{"get":{"tags":["Page"],"summary":"Returns one published page of an organisation's public site by its slug. Manager role.","operationId":"Page_GetPage","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"permalink","in":"path","required":true,"type":"string"},{"name":"slug","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Page.PageDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/app/organisations/{organisationId}/payments/{organisationMembershipId}":{"get":{"tags":["Payments"],"summary":"Lists the payments one contact has made to the organisation. The contact themselves, or a manager.","operationId":"Payments_GetPayments","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Payments.PaymentDto"}}}}}},"/app/organisations/{organisationId}/creditCard/{organisationMembershipId}/paymentTickets/{id}":{"get":{"tags":["PaymentTickets"],"summary":"Returns a payment ticket, the record of one card payment attempt. The contact themselves, or a manager.","operationId":"PaymentTickets_GetPaymentTicket","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentTicketDto"}}}}},"/app/organisations/{organisationId}/creditCard/{organisationMembershipId}/paymentTickets":{"post":{"tags":["PaymentTickets"],"summary":"Opens a payment ticket to start a card payment. The contact themselves, or a manager.","operationId":"PaymentTickets_PostPaymentTicket","consumes":["application/json","text/json","text/javascript","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"organisationMembershipId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/PaymentTicketDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/PaymentTicketDto"}}}}},"/organisations/{organisationId}/posts":{"get":{"tags":["Posts"],"summary":"Lists the organisation's posts, one page at a time, optionally filtered by text. Manager role.","operationId":"Posts_GetPosts","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","required":false,"type":"integer","format":"int32"},{"name":"searchText","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.v2.Common.FilterResultDto`1[[Raklet.Api.Dtos.Announcement.AnnouncementDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"post":{"tags":["Posts"],"summary":"Publishes a post to a board or to the organisation feed. Manager role.","operationId":"Posts_CreatePost","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"announcementDto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementDto"}}}}},"/organisations/{organisationId}/posts/{postId}":{"get":{"tags":["Posts"],"summary":"Returns one post with its attachments. Manager role.","operationId":"Posts_GetPost","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"postId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementDto"}}}},"put":{"tags":["Posts"],"summary":"Updates a post's content, board or visibility. Manager role.","operationId":"Posts_PutPost","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"postId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"postDto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementDto"}}}},"delete":{"tags":["Posts"],"summary":"Deletes a post and its attachments. Manager role.","operationId":"Posts_DeletePost","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"postId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementDto"}}}}},"/organisations/{organisationId}/posts/{postId}/attachments":{"post":{"tags":["Posts"],"summary":"Adds an attachment to an existing post. Manager role.","operationId":"Posts_PostAttachment","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"postId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"attachmentDto","in":"body","required":true,"schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementAttachmentDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementAttachmentDto"}}}}},"/organisations/{organisationId}/posts/{postId}/attachments/{attachmentId}":{"delete":{"tags":["Posts"],"summary":"Removes one attachment from a post. Manager role.","operationId":"Posts_DeletePostAttachment","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"postId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"attachmentId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementAttachmentDto"}}}}},"/app/organisations/{organisationId}/schools":{"get":{"tags":["Schools"],"summary":"Lists the schools the organisation's contacts attended. Any organisation role.","operationId":"Schools_GetSchools","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.SchoolDto"}}}}}},"/app/organisations/{organisationId}/schools/details":{"get":{"tags":["Schools"],"summary":"Returns the contacts who attended one school. Any organisation role.","operationId":"Schools_GetSchool","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"name","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.SchoolDto"}}}}}},"/app/organisations/{organisationId}/schools/count":{"get":{"tags":["Schools"],"summary":"Returns how many distinct schools the organisation's contacts attended. Any organisation role.","operationId":"Schools_GetSchoolCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/search/organisations":{"post":{"tags":["Search"],"summary":"Searches public Raklet organisations by name. No authentication.","operationId":"Search_SearchOrganisations","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"q","in":"query","required":true,"type":"string"},{"name":"pageSize","in":"query","required":false,"type":"integer","format":"int32"},{"name":"offset","in":"query","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.List`1[[Raklet.Api.Dtos.Organisation.OrganisationDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/app/organisations/{organisationId}/sectors":{"get":{"tags":["Sectors"],"summary":"Lists the industry sectors the organisation's contacts work in. Manager role.","operationId":"Sectors_GetSectors","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.SectorDto"}}}}}},"/app/organisations/{organisationId}/sectors/details":{"get":{"tags":["Sectors"],"summary":"Returns the contacts working in one sector. Manager role.","operationId":"Sectors_GetSector","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"name","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.SectorDto"}}}}},"/app/organisations/{organisationId}/sectors/count":{"get":{"tags":["Sectors"],"summary":"Returns how many distinct sectors the organisation's contacts work in. Manager role.","operationId":"Sectors_GetSectorsCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/common/countryCodes":{"get":{"tags":["SelectList"],"summary":"Returns the international dialling codes for phone number entry. No authentication.","operationId":"SelectList_GetCountryCodes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/countries":{"get":{"tags":["SelectList"],"summary":"Returns the country list used by address fields, in the caller's language. No authentication.","operationId":"SelectList_GetCountries","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/states":{"get":{"tags":["SelectList"],"summary":"Returns the states or provinces for each country that has them. No authentication.","operationId":"SelectList_GetStates","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/educationLevels":{"get":{"tags":["SelectList"],"summary":"Returns the education level options for contact education records. No authentication.","operationId":"SelectList_GetEducationLevels","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/languages":{"get":{"tags":["SelectList"],"summary":"Returns the languages Raklet's interface is available in. No authentication.","operationId":"SelectList_GetLanguages","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/jobTypes":{"get":{"tags":["SelectList"],"summary":"Returns the employment type options for job postings. No authentication.","operationId":"SelectList_GetJobTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/months":{"get":{"tags":["SelectList"],"summary":"Returns month names in the caller's language, for date pickers. No authentication.","operationId":"SelectList_GetMonths","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/genders":{"get":{"tags":["SelectList"],"summary":"Returns the gender options for contact records. No authentication.","operationId":"SelectList_GetGenders","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/bloodTypes":{"get":{"tags":["SelectList"],"summary":"Returns the blood type options for contact records. No authentication.","operationId":"SelectList_GetBloodTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/maritalStatusTypes":{"get":{"tags":["SelectList"],"summary":"Returns the marital status options for contact records. No authentication.","operationId":"SelectList_GetMaritalStatusTypes","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/common/years":{"get":{"tags":["SelectList"],"summary":"Returns the year range offered by date pickers. No authentication.","operationId":"SelectList_GetYears","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}},"security":[]}},"/organisations/{organisationId}/settings/connection":{"get":{"tags":["Settings"],"summary":"Returns the organisation's social network and directory visibility settings. Any organisation role.","operationId":"Settings_GetConnectionSettings","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Organisation.OrganisationSettingsSocialNetworkDto"}}}}},"/organisations/{organisationId}/settings/messaging":{"get":{"tags":["Settings"],"summary":"Returns the organisation's messaging settings, including sender identity. Any organisation role.","operationId":"Settings_GetMessagingSettings","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Raklet.Api.Dtos.Organisation.OrganisationSettingsMessagingDto"}}}}},"/organisations/{organisationId}/settings/fields":{"get":{"tags":["Settings"],"summary":"Returns the organisation's contact field definitions, standard and custom. Any organisation role.","operationId":"Settings_GetFields","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"onlyEditableAttributes","in":"query","required":false,"type":"boolean"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Models.JsonTypes.CustomAttributes.FieldObject"}}}}}},"/organisations/{organisationId}/subscriptions":{"get":{"tags":["Subscription"],"summary":"Lists the organisation's membership subscription types. Manager role.","operationId":"Subscription_GetSubscriptions","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.List`1[[Models.Dtos.v2.Membership.CustomMembershipDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]"}}}},"post":{"tags":["Subscription"],"summary":"Creates a membership subscription type with its fee and interval. Manager role.","operationId":"Subscription_AddSubscription","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Models.Dtos.v2.Membership.CustomMembershipDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Membership.CustomMembershipDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}}},"/organisations/{organisationId}/subscriptions/{subscriptionId}":{"get":{"tags":["Subscription"],"summary":"Returns one membership subscription type by id. Manager role.","operationId":"Subscription_GetSubscriptionById","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"subscriptionId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Membership.CustomMembershipDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"}}}},"put":{"tags":["Subscription"],"summary":"Updates a membership subscription type. Manager role.","operationId":"Subscription_UpdateSubscription","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"subscriptionId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"dto","in":"body","required":true,"schema":{"$ref":"#/definitions/Models.Dtos.v2.Membership.CustomMembershipDto"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}},"delete":{"tags":["Subscription"],"summary":"Deletes a membership subscription type. Manager role.","operationId":"Subscription_DeleteSubscription","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","required":true,"type":"string","format":"uuid"},{"name":"subscriptionId","in":"path","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Models.Dtos.Common.ApiResult"}}}}},"/app/organisations/{organisationId}/tags":{"get":{"tags":["Tags"],"summary":"Return all visible tags in organisation. Take element size defined at web configurations.","operationId":"Tags_GetTags","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","description":"Tags organisaiton Id","required":true,"type":"string","format":"uuid"},{"name":"startIndex","in":"query","description":"Skip parameters value","required":false,"type":"integer","format":"int32"},{"name":"s","in":"query","description":"Searcg tags who start with s parameter","required":false,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.TagDto"}}}}}},"/app/organisations/{organisationId}/tags/{id}":{"get":{"tags":["Tags"],"summary":"Return visible tag and related profile visible members","operationId":"Tags_GetTagDetail","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","description":"","required":true,"type":"string","format":"uuid"},{"name":"id","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.TagDto"}}}}}},"/app/organisations/{organisationId}/tags/count":{"get":{"tags":["Tags"],"summary":"Return visible tag counts in organisation","operationId":"Tags_GetTagsCount","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"organisationId","in":"path","description":"","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"format":"int32","type":"integer"}}}}},"/.well-known/oauth-protected-resource":{"get":{"tags":["WellKnown"],"summary":"OAuth 2.0 protected resource metadata (RFC 9728). Tells a client which authorization\r\nserver issues tokens for this API, how to present them, and which scopes exist.","description":"Unauthenticated. This is the document named by the resource_metadata parameter of the\r\nWWW-Authenticate challenge returned with every 401 from this API.","operationId":"WellKnown_ProtectedResource","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}},"security":[]}},"/.well-known/oauth-authorization-server":{"get":{"tags":["WellKnown"],"summary":"OAuth 2.0 authorization server metadata (RFC 8414) for the token endpoint this API\r\nauthenticates against.","description":"Unauthenticated. Raklet issues tokens with the resource owner password credentials\r\ngrant only: POST the admin user's username and password, plus an optional space\r\nseparated scope list, as application/x-www-form-urlencoded to the token endpoint.","operationId":"WellKnown_AuthorizationServer","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}},"security":[]}},"/llms.txt":{"get":{"tags":["WellKnown"],"summary":"Plain-text index of this API for LLM agents, in the llmstxt.org format: what the API\r\nis, how to authenticate, and where the machine-readable documents live.","description":"Unauthenticated.","operationId":"WellKnown_LlmsTxt","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}},"security":[]}},"/openapi.json":{"get":{"tags":["WellKnown"],"summary":"Redirects to the OpenAPI 3 description of the public v1 API.","description":"Unauthenticated. The document itself is built and hosted by the marketing site\r\n(scripts/build_openapi_spec.py converts /swagger/docs/v1, which Swashbuckle 5 can only\r\nemit as Swagger 2.0). This redirect exists so an agent that only knows the API host\r\nstill finds it at the conventional path.","operationId":"WellKnown_OpenApi","consumes":[],"produces":["application/json","text/json","text/javascript","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}},"security":[]}}},"definitions":{"Models.Dtos.v2.Common.RakletListResponse`1[[Raklet.Api.Dtos.ActionLog.ActionLogApiDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Dtos.ActionLog.ActionLogApiDto"}},"continuation":{"type":"string"},"totalCount":{"format":"int32","type":"integer"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isValid":{"type":"boolean"},"lastCreatedOnUnix":{"format":"int32","type":"integer"}}},"Raklet.Api.Dtos.ActionLog.ActionLogApiDto":{"type":"object","properties":{"id":{"type":"string"},"actionKey":{"type":"string"},"actionGroup":{"type":"string"},"beforeActionDetails":{"type":"object","additionalProperties":{"type":"object"}},"afterActionDetails":{"type":"object","additionalProperties":{"type":"object"}},"actorType":{"type":"string"},"actorOrganisationMembershipId":{"format":"uuid","type":"string"},"actorOrganisationMembershipInfo":{"$ref":"#/definitions/Models.CosmosDb.ActionLog.OrganisationMembershipInfo"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembershipInfo":{"$ref":"#/definitions/Models.CosmosDb.ActionLog.OrganisationMembershipInfo"},"createdOn":{"format":"date-time","type":"string"},"createdOnUnix":{"format":"int32","type":"integer"}}},"Models.Dtos.v2.Common.PagingDto":{"type":"object","properties":{"totalRowCount":{"format":"int64","type":"integer"},"showingRowCount":{"format":"int64","type":"integer"},"offset":{"format":"int32","type":"integer"},"pageSize":{"format":"int32","type":"integer"}}},"Models.CosmosDb.ActionLog.OrganisationMembershipInfo":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}},"Models.Dtos.v2.Common.RakletListResponse`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","additionalProperties":{"type":"object"}}},"continuation":{"type":"string"},"totalCount":{"format":"int32","type":"integer"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isValid":{"type":"boolean"},"lastCreatedOnUnix":{"format":"int32","type":"integer"}}},"Raklet.Api.Controllers.Admin.Organisations.DebtDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Debt id.","type":"string"},"status":{"format":"int32","description":"Whether the debt is outstanding, paid or cancelled.","enum":[0,1,-1],"type":"integer"},"isManuelEntry":{"description":"True when a manager recorded the debt by hand rather than Raklet raising it from a plan.","type":"boolean"},"createdOn":{"format":"date-time","description":"When the debt was created, UTC.","type":"string"},"organisationMembershipId":{"format":"uuid","description":"Contact the debt is owed by.","type":"string"},"amount":{"format":"double","description":"Amount owed.","type":"number"},"currency":{"format":"int32","description":"Currency of the amount.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"debtType":{"format":"int32","description":"What the debt is for: membership fee, donation, event ticket or a custom charge.","enum":[0,1,2],"type":"integer"},"year":{"format":"int32","description":"Membership year the debt covers. Optional.","type":"integer"},"month":{"format":"int32","description":"Month within Year the debt covers, 1 to 12. Optional.","type":"integer"},"description":{"description":"Free-text description shown to the contact.","type":"string"}}},"Raklet.Api.Controllers.Admin.Organisations.DebtPostDto":{"type":"object","properties":{"organisationMembershipId":{"format":"uuid","description":"Contact the debt is owed by.","type":"string"},"amount":{"format":"double","description":"Amount owed.","type":"number"},"currency":{"format":"int32","description":"Currency of the amount.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"debtType":{"format":"int32","description":"What the debt is for: membership fee, donation, event ticket or a custom charge.","enum":[0,1,2],"type":"integer"},"year":{"format":"int32","description":"Membership year the debt covers. Optional.","type":"integer"},"month":{"format":"int32","description":"Month within Year the debt covers, 1 to 12. Optional.","type":"integer"},"description":{"description":"Free-text description shown to the contact.","type":"string"}}},"Raklet.Api.Controllers.Admin.Organisations.DonationDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Donation id.","type":"string"},"fullName":{"description":"Name of the donor.","type":"string"},"isManualPayment":{"description":"True when a manager recorded the donation by hand rather than it arriving through a payment processor.","type":"boolean"},"isPublicDonation":{"description":"True when the donation came through a public campaign page rather than from a known contact.","type":"boolean"},"isRecurring":{"description":"True when the donation is one instalment of a recurring gift.","type":"boolean"},"createdOn":{"format":"date-time","description":"When the donation record was created, UTC.","type":"string"},"organisationMembershipId":{"format":"uuid","description":"Contact who donated. Null for an anonymous or non-contact donor.","type":"string"},"donationCampaignId":{"format":"uuid","description":"Campaign the donation is for. Null for a general donation.","type":"string"},"amount":{"format":"double","description":"Amount donated.","type":"number"},"currency":{"format":"int32","description":"Currency of the amount.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"referenceNumber":{"description":"Reference to record against the donation.","type":"string"},"paymentMethod":{"format":"int32","description":"How the donation was paid: card, bank transfer, cash and so on.","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"paymentDate":{"format":"date-time","description":"When the donation was made, UTC.","type":"string"},"isDonorNameHidden":{"description":"True to keep the donor anonymous on the campaign's public donor list.","type":"boolean"}}},"Raklet.Api.Controllers.Admin.Organisations.DonationPostDto":{"type":"object","properties":{"organisationMembershipId":{"format":"uuid","description":"Contact who donated. Null for an anonymous or non-contact donor.","type":"string"},"donationCampaignId":{"format":"uuid","description":"Campaign the donation is for. Null for a general donation.","type":"string"},"amount":{"format":"double","description":"Amount donated.","type":"number"},"currency":{"format":"int32","description":"Currency of the amount.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"referenceNumber":{"description":"Reference to record against the donation.","type":"string"},"paymentMethod":{"format":"int32","description":"How the donation was paid: card, bank transfer, cash and so on.","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"paymentDate":{"format":"date-time","description":"When the donation was made, UTC.","type":"string"},"isDonorNameHidden":{"description":"True to keep the donor anonymous on the campaign's public donor list.","type":"boolean"}}},"Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentDto":{"required":["amount","currency","paymentMethod"],"type":"object","properties":{"id":{"format":"uuid","description":"Payment id.","type":"string"},"memberName":{"description":"Name of the contact who paid.","type":"string"},"isManualPayment":{"description":"True when a manager recorded the payment by hand rather than it arriving through a payment processor.","type":"boolean"},"createdOn":{"format":"date-time","description":"When the payment record was created, UTC.","type":"string"},"organisationMembershipId":{"format":"uuid","description":"Contact the payment is from. Null for a payment not tied to a contact.","type":"string"},"amount":{"format":"double","description":"Amount paid.","type":"number"},"currency":{"format":"int32","description":"Currency of the amount.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"referenceNumber":{"description":"Reference to record against the payment.","type":"string"},"paymentMethod":{"format":"int32","description":"How the contact paid: card, bank transfer, cash and so on.","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"isRecurringPayment":{"description":"True when the payment is one instalment of a recurring arrangement.","type":"boolean"},"paymentDate":{"format":"date-time","description":"When the payment was made, UTC.","type":"string"}}},"Raklet.Api.Controllers.Admin.Organisations.AdminPaymentsController+AdminPaymentPostDto":{"required":["amount","currency","paymentMethod"],"type":"object","properties":{"organisationMembershipId":{"format":"uuid","description":"Contact the payment is from. Null for a payment not tied to a contact.","type":"string"},"amount":{"format":"double","description":"Amount paid.","type":"number"},"currency":{"format":"int32","description":"Currency of the amount.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"referenceNumber":{"description":"Reference to record against the payment.","type":"string"},"paymentMethod":{"format":"int32","description":"How the contact paid: card, bank transfer, cash and so on.","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"isRecurringPayment":{"description":"True when the payment is one instalment of a recurring arrangement.","type":"boolean"},"paymentDate":{"format":"date-time","description":"When the payment was made, UTC.","type":"string"}}},"Models.Dtos.v2.Common.RakletListResponse`1[[Raklet.Api.Dtos.Membership.CustomPlanDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Dtos.Membership.CustomPlanDto"}},"continuation":{"type":"string"},"totalCount":{"format":"int32","type":"integer"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isValid":{"type":"boolean"},"lastCreatedOnUnix":{"format":"int32","type":"integer"}}},"Raklet.Api.Dtos.Membership.CustomPlanDto":{"type":"object","properties":{"planName":{"type":"string"},"amount":{"format":"double","type":"number"},"description":{"type":"string"},"membershipFeeInterval":{"type":"string"},"membershipFeeIntervalCode":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"activeSubscriptions":{"format":"int32","type":"integer"},"isMembershipAutomationEnabled":{"type":"boolean"},"benefits":{"type":"string"},"renewalInterval":{"format":"int32","type":"integer"},"groupMembershipEnabled":{"type":"boolean"},"paymentAccountId":{"format":"uuid","type":"string"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"hasSpecificStartDate":{"type":"boolean"},"monthOfStartDate":{"format":"int32","type":"integer"},"dayOfStartDate":{"format":"int32","type":"integer"},"canPublicApply":{"type":"boolean"},"canSocialNetworkApply":{"type":"boolean"},"removeDebtAfterCancellation":{"type":"boolean"},"paymentFailAction":{"format":"int32","enum":[0,1],"type":"integer"},"signupFormEnabled":{"type":"boolean"},"signupFormAutoApproval":{"type":"boolean"},"maxGroupMemberCount":{"format":"int32","type":"integer"},"gracePeriod":{"format":"int32","type":"integer"},"freePeriodInDays":{"format":"int32","type":"integer"},"id":{"format":"uuid","type":"string"}}},"Models.Dtos.v2.Common.RakletActionResponse`1[[Raklet.Api.Dtos.Membership.CustomPlanDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"id":{"type":"string"},"data":{"$ref":"#/definitions/Raklet.Api.Dtos.Membership.CustomPlanDto"},"isValid":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Common.ValidationError"}},"warnings":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Common.ValidationWarning"}}}},"Models.Dtos.v2.Common.ValidationError":{"type":"object","properties":{"fieldName":{"type":"string"},"errorMessage":{"type":"string"},"value":{"type":"object"}}},"Models.Dtos.v2.Common.ValidationWarning":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"object"}}},"Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminTagDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Tag id.","type":"string"},"name":{"description":"Tag name.","type":"string"},"isVisible":{"description":"True when members can see the tag on profiles in the member directory.","type":"boolean"},"isMemberSelectable":{"description":"True when members may add this tag to themselves from the portal.","type":"boolean"},"organisationMembershipIds":{"description":"Contacts carrying the tag. Populated on single-tag reads only.","type":"array","items":{"format":"uuid","type":"string"}},"memberCount":{"format":"int32","description":"How many contacts carry the tag.","type":"integer"},"lastModifiedOn":{"format":"date-time","description":"When the tag was last changed, UTC.","type":"string"},"createdOn":{"format":"date-time","description":"When the tag was created, UTC.","type":"string"}}},"Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagDto":{"required":["name","isVisible","isMemberSelectable"],"type":"object","properties":{"name":{"description":"Tag name. Must be unique within the organisation.","type":"string"},"isVisible":{"description":"True to show the tag on profiles in the member directory.","type":"boolean"},"isMemberSelectable":{"description":"True to let members add this tag to themselves from the portal.","type":"boolean"},"organisationMembershipIds":{"description":"Contacts to apply the tag to on create. Optional.","type":"array","items":{"format":"uuid","type":"string"}}}},"Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminPostTagMemberListDto":{"type":"object","properties":{"organisationMembershipIds":{"description":"Contacts to add the tag to, or remove it from.","type":"array","items":{"format":"uuid","type":"string"}}}},"Raklet.Api.Controllers.Admin.Tags.AdminTagController+AdminTagMembersDto":{"type":"object","properties":{"totalCount":{"format":"int32","description":"Total contacts carrying the tag, across all pages.","type":"integer"},"page":{"format":"int32","description":"Page number returned, starting at 1.","type":"integer"},"pageSize":{"format":"int32","description":"Contacts per page.","type":"integer"},"memberIds":{"description":"Organisation membership ids of the contacts on this page.","type":"array","items":{"format":"uuid","type":"string"}}}},"Raklet.Api.ApiModels.AuthModel":{"required":["organisationId","apiToken"],"type":"object","properties":{"organisationId":{"format":"uuid","description":"Organisation ID from Settings &gt; Zapier API Tokens in the admin panel.","type":"string"},"apiToken":{"format":"uuid","description":"API Token issued alongside that Organisation ID.","type":"string"}}},"Services.Dtos.CategoryDto":{"required":["name"],"type":"object","properties":{"name":{"type":"string"},"slug":{"type":"string"},"description":{"type":"string"},"imageFile":{"type":"string"},"imageUrl":{"type":"string"},"imageUrlS100":{"type":"string"},"imageUrlS200":{"type":"string"},"imageUrlS400":{"type":"string"},"imageUrlS800":{"type":"string"},"isDefault":{"type":"boolean"},"hasUserAccess":{"type":"boolean"},"url":{"type":"string"},"planStatus":{"type":"string"},"accessType":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"postCreatePermission":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"postApprovalRequired":{"type":"boolean"},"postCommentCreatePermission":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"postCommentApprovalRequired":{"type":"boolean"},"visibility":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"plans":{"type":"object","additionalProperties":{"type":"boolean"}},"members":{"type":"array","items":{"format":"uuid","type":"string"}},"selectedMembers":{"type":"array","items":{"$ref":"#/definitions/Services.Dtos.CategoryDto+MemberInfo"}},"postLike":{"format":"int32","enum":[0,1],"type":"integer"},"postComment":{"format":"int32","enum":[0,1],"type":"integer"},"postShare":{"format":"int32","enum":[0,1],"type":"integer"},"subscriberCount":{"format":"int32","type":"integer"},"layout":{"format":"int32","enum":[0,1],"type":"integer"},"columns":{"format":"int32","enum":[1,2,3],"type":"integer"},"isVisibleOnTheFeed":{"type":"boolean"},"isAutoSubscribeMembers":{"type":"boolean"},"isShowSubscribersOnBoardPage":{"type":"boolean"},"isDeleted":{"type":"boolean"},"id":{"format":"uuid","type":"string"}}},"Services.Dtos.CategoryDto+MemberInfo":{"type":"object","properties":{"id":{"type":"string"},"fullName":{"type":"string"},"email":{"type":"string"},"pictureUrl":{"type":"string"}}},"Raklet.Api.Controllers.App.Connections.CityDto":{"type":"object","properties":{"name":{"description":"City name.","type":"string"},"count":{"format":"int32","description":"How many of the organisation's contacts live here.","type":"integer"},"members":{"description":"The contacts living here. Populated by the details endpoint only.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CityMemberDto"}}}},"Raklet.Api.Controllers.App.Connections.CityMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The contact's organisation membership id.","type":"string"},"firstName":{"description":"The contact's first name.","type":"string"},"lastName":{"description":"The contact's last name.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo. Empty when they have none.","type":"string"},"title":{"description":"The contact's job title.","type":"string"},"fullName":{"description":"First and last name joined for display.","type":"string"},"type":{"format":"int32","description":"Whether the contact is an individual, a corporate member or a sub-member.","enum":[0,1,2,3,4,5,6],"type":"integer"}}},"Raklet.Api.Controllers.App.Connections.CompanyDto":{"type":"object","properties":{"name":{"description":"Company name.","type":"string"},"count":{"format":"int32","description":"How many of the organisation's contacts work here.","type":"integer"},"slug":{"description":"URL-safe form of Name, for linking to the company's directory page.","type":"string","readOnly":true},"members":{"description":"The contacts working here. Populated by the details endpoint only.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CompanyMemberDto"}}}},"Raklet.Api.Controllers.App.Connections.CompanyMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The contact's organisation membership id.","type":"string"},"firstName":{"description":"The contact's first name.","type":"string"},"lastName":{"description":"The contact's last name.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo. Empty when they have none.","type":"string"},"title":{"description":"The contact's job title.","type":"string"},"fullName":{"description":"First and last name joined for display.","type":"string"},"type":{"format":"int32","description":"Whether the contact is an individual, a corporate member or a sub-member.","enum":[0,1,2,3,4,5,6],"type":"integer"},"company":{"description":"Employer the contact works for.","type":"string"},"position":{"description":"Job title held there.","type":"string"},"startYear":{"format":"int32","description":"Year they started the role.","type":"integer"},"endYear":{"format":"int32","description":"Year they left the role. Null while still there.","type":"integer"}}},"Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Common.GenericFilterListDto`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Models.Dtos.v2.Common.GenericFilterListDto`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Models.Dtos.v2.Common.GenericFilterListDto`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"continuation":{"format":"int32","type":"integer"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"data":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Contacts.UpsertContactDto"}},"count":{"format":"int64","type":"integer"},"searchQuery":{"$ref":"#/definitions/Models.Dtos.v2.Common.SearchQuery"},"elasticQuery":{"type":"string"}}},"Models.Dtos.Common.ErrorItem":{"type":"object","properties":{"message":{"type":"string"},"internalMessage":{"type":"string"},"name":{"type":"string"}}},"Models.Dtos.v2.Contacts.UpsertContactDto":{"type":"object","properties":{"id":{"type":"string"},"rakletId":{"type":"string"},"organisationId":{"type":"string"},"attributes":{"type":"object","additionalProperties":{"type":"object"}},"parentOrganisationMembershipName":{"type":"string"},"phones":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Import.PhoneImportDto"}},"emails":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Import.EmailImportDto"}},"addresses":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Import.AddressImportDto"}},"educations":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Import.EducationImportDto"}},"works":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Import.WorkImportDto"}},"tags":{"type":"array","items":{"type":"string"}},"subscriptions":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Import.CustomPlanImportDto"}},"roles":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Contacts.ElasticRoleDto"}},"boards":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Contacts.ElasticBoardDto"}}}},"Models.Dtos.v2.Common.SearchQuery":{"type":"object","properties":{"fieldNames":{"type":"array","items":{"type":"string"}},"includedIds":{"type":"array","items":{"type":"string"}},"excludedIds":{"type":"array","items":{"type":"string"}},"orderBy":{"$ref":"#/definitions/Models.Dtos.v2.Common.OrderBy"},"predicates":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Common.Predicate"}},"isOr":{"type":"boolean"}}},"Models.Dtos.v2.Import.PhoneImportDto":{"type":"object","properties":{"countryCode":{"type":"string"},"number":{"type":"string"},"fullPhone":{"type":"string"},"isActivated":{"type":"boolean"},"phoneStatus":{"type":"string"},"id":{"type":"string"}}},"Models.Dtos.v2.Import.EmailImportDto":{"type":"object","properties":{"emailAddress":{"type":"string"},"isActivated":{"type":"boolean"},"isValid":{"type":"boolean"},"id":{"type":"string"}}},"Models.Dtos.v2.Import.AddressImportDto":{"type":"object","properties":{"fullAddress":{"type":"string"},"details":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"county":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"latitude":{"format":"double","type":"number"},"longitude":{"format":"double","type":"number"},"id":{"type":"string"}}},"Models.Dtos.v2.Import.EducationImportDto":{"type":"object","properties":{"school":{"type":"string"},"department":{"type":"string"},"faculty":{"type":"string"},"educationLevel":{"type":"string"},"startYear":{"format":"int32","type":"integer"},"endYear":{"format":"int32","type":"integer"},"city":{"type":"string"},"country":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"isCurrent":{"type":"boolean"},"isLocked":{"type":"boolean"},"id":{"type":"string"}}},"Models.Dtos.v2.Import.WorkImportDto":{"type":"object","properties":{"company":{"type":"string"},"position":{"type":"string"},"sector":{"type":"string"},"startYear":{"format":"int32","type":"integer"},"startMonth":{"format":"int32","type":"integer"},"endYear":{"format":"int32","type":"integer"},"endMonth":{"format":"int32","type":"integer"},"city":{"type":"string"},"country":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"isCurrent":{"type":"boolean"},"website":{"type":"string"},"id":{"type":"string"}}},"Models.Dtos.v2.Import.CustomPlanImportDto":{"type":"object","properties":{"planId":{"type":"string"},"planName":{"type":"string"},"groupMembershipEnabled":{"type":"boolean"},"groupMembershipPriceType":{"format":"int32","enum":[1,2],"type":"integer"},"maxGroupMemberCount":{"format":"int32","type":"integer"},"isMembershipAutomationEnabled":{"type":"boolean"},"planMembershipFee":{"format":"double","type":"number"},"membershipFeeInterval":{"type":"string"},"renewalInterval":{"format":"int32","type":"integer"},"discountedPlanMembershipFee":{"format":"double","type":"number"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"renewalDate":{"format":"date-time","type":"string"},"status":{"type":"string"},"subscriptionDebtsTotal":{"format":"double","type":"number"},"subscriptionPaymentsTotal":{"format":"double","type":"number"},"subscriptionBalance":{"format":"double","type":"number"},"childSubscriptions":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Import.CustomPlanImportDto"}},"parentMembershipId":{"format":"uuid","type":"string"},"parentContactId":{"format":"uuid","type":"string"},"parentContactName":{"type":"string"},"contactId":{"format":"uuid","type":"string"},"contactName":{"type":"string"},"id":{"type":"string"}}},"Models.Dtos.v2.Contacts.ElasticRoleDto":{"type":"object","properties":{"roleId":{"type":"string"},"roleName":{"type":"string"},"id":{"type":"string"}}},"Models.Dtos.v2.Contacts.ElasticBoardDto":{"type":"object","properties":{"boardId":{"type":"string"},"boardName":{"type":"string"},"id":{"type":"string"}}},"Models.Dtos.v2.Common.OrderBy":{"type":"object","properties":{"name":{"type":"string"},"direction":{"type":"string"}}},"Models.Dtos.v2.Common.Predicate":{"required":["comparison","value"],"type":"object","properties":{"attribute":{"type":"string"},"dataType":{"type":"string"},"comparison":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],"type":"integer"},"value":{"type":"object"},"isOr":{"type":"boolean"},"predicates":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Common.Predicate"}},"predicateScript":{"$ref":"#/definitions/Models.Dtos.v2.Common.PredicateScript"}}},"Models.Dtos.v2.Common.PredicateScript":{"type":"object","properties":{"script":{"type":"string"},"params":{"type":"object","additionalProperties":{"type":"object"}}}},"Raklet.Api.Dtos.Contact.UpdateContactDto":{"required":["firstName","lastName","language"],"type":"object","properties":{"emailAddress":{"description":"The contact's primary email address. Raklet uses it to identify and to reach them.","type":"string"},"firstName":{"description":"The contact's first name. Required.","type":"string"},"lastName":{"description":"The contact's last name. Required.","type":"string"},"maidenName":{"description":"The contact's maiden name, where the organisation records one.","type":"string"},"memberNo":{"description":"Membership number. Raklet generates one when this is left empty.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo.","type":"string"},"membershipDateUnix":{"format":"int32","description":"When the contact joined the organisation, as Unix seconds.","type":"integer"},"decisionNumber":{"description":"Reference of the board decision that admitted the contact, where the organisation records one.","type":"string"},"decisionDateUnix":{"format":"int32","description":"Date of that decision, as Unix seconds.","type":"integer"},"title":{"description":"The contact's job title.","type":"string"},"about":{"description":"Free-text biography shown on the contact's portal profile.","type":"string"},"language":{"description":"Language Raklet writes to the contact in, as listed by GET /common/languages. Required.","type":"string"},"gender":{"description":"Gender, as listed by GET /common/genders.","type":"string"},"bloodType":{"description":"Blood type, as listed by GET /common/bloodTypes.","type":"string"},"birthDateUnix":{"format":"int32","description":"Date of birth, as Unix seconds.","type":"integer"},"birthPlace":{"description":"Place of birth.","type":"string"},"nationalId":{"description":"National identity number, where the organisation records one.","type":"string"},"maritalStatus":{"description":"Marital status, as listed by GET /common/maritalStatusTypes.","type":"string"},"marriageDateUnix":{"format":"int32","description":"Marriage date, as Unix seconds.","type":"integer"},"isWorkShared":{"description":"True when the contact's work history is visible to other members.","type":"boolean"},"isEducationShared":{"description":"True when the contact's education history is visible to other members.","type":"boolean"},"isMessagingEnabled":{"description":"True when other members may message this contact through the portal.","type":"boolean"},"profileVisibility":{"format":"int32","description":"Who may see the contact's profile: everyone, members only, or nobody.","enum":[0,1,2],"type":"integer"},"isLookingForAJob":{"description":"True to list the contact in the organisation's job seekers directory.","type":"boolean"},"lookingForAJobType":{"description":"Employment type sought, as listed by GET /common/jobTypes.","type":"string"},"lookingJobDescription":{"description":"What the contact says they are looking for.","type":"string"},"phoneCountryCode":{"description":"International dialling code of the contact's primary phone, without the plus sign.","type":"string"},"phoneNumber":{"description":"National part of the contact's primary phone number.","type":"string"},"phoneIsMobile":{"description":"True when that number can receive SMS.","type":"boolean"},"isTermsOfUseAccepted":{"description":"True once the contact has accepted the organisation's terms of use. Setting it records the caller's IP as evidence.","type":"boolean"},"isTermsOfUse2Accepted":{"description":"True once the contact has accepted the organisation's second terms document, where it uses one.","type":"boolean"},"type":{"format":"int32","description":"Whether the contact is an individual, a corporate member or a sub-member of one.","enum":[0,1,2,3,4,5,6],"type":"integer"},"password":{"description":"Sets the contact's member-portal password. Write-only; never returned.","type":"string"},"sendWelcomeEmail":{"description":"True to email the contact a welcome message with sign-in instructions.","type":"boolean"}}},"Models.Dtos.Common.ApiResult":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"type":"object"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Contacts.UpsertContactDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Models.Dtos.v2.Contacts.UpsertContactDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Contact.ContactPhoto":{"type":"object","properties":{"url":{"description":"Publicly reachable image URL. Raklet downloads it and stores its own copy.","type":"string"}}},"Raklet.Api.Dtos.Contact.AddressDto":{"required":["details","city","country"],"type":"object","properties":{"details":{"description":"Street address: building, street and any further detail.","pattern":"^[^<>]*$","type":"string"},"county":{"description":"County or district within the city.","pattern":"^[^<>]*$","type":"string"},"postalCode":{"description":"Postal or ZIP code.","pattern":"^[^<>]*$","type":"string"},"city":{"description":"City name.","pattern":"^[^<>]*$","type":"string"},"country":{"description":"Country name, as listed by GET /common/countries.","pattern":"^[^<>]*$","type":"string"},"state":{"description":"State or province, as listed by GET /common/states.","pattern":"^[^<>]*$","type":"string"},"fullAddress":{"description":"The whole address on one line, assembled by Raklet. Read-only.","type":"string"},"id":{"format":"uuid","type":"string"}}},"Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.AddressDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.AddressDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Contact.EducationDto":{"required":["school"],"type":"object","properties":{"school":{"description":"School or university name. Feeds the school directory.","type":"string"},"department":{"description":"Department or programme studied.","type":"string"},"faculty":{"description":"Faculty the department sits under.","type":"string"},"educationLevel":{"format":"int32","description":"Level of the qualification, as listed by GET /common/educationLevels.","enum":[0,1,2,3,4,5,6,7,8,9,10,11],"type":"integer"},"startYear":{"format":"int32","description":"Year the contact started studying.","type":"integer"},"endYear":{"format":"int32","description":"Year the contact finished. Null while still studying.","type":"integer"},"city":{"description":"City the school is in.","type":"string"},"country":{"description":"Country the school is in.","type":"string"},"isLocked":{"description":"True when the organisation set this record and the contact cannot edit it themselves.","type":"boolean"},"id":{"format":"uuid","type":"string"}}},"Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EducationDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.EducationDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Contact.EmailDto":{"required":["emailAddress"],"type":"object","properties":{"emailAddress":{"description":"The email address.","pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"emailStatus":{"format":"int32","description":"Delivery standing of the address: whether Raklet will send to it, and why not if it will not.","enum":[0,-1],"type":"integer"},"isActivated":{"description":"True once the contact has confirmed the address from the verification email.","type":"boolean"},"isPrimary":{"description":"True for the address Raklet sends to by default. One per contact.","type":"boolean"},"id":{"format":"uuid","type":"string"}}},"Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.EmailDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.EmailDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Contact.PhoneDto":{"required":["countryCode","number"],"type":"object","properties":{"countryCode":{"description":"International dialling code without the plus sign, as listed by GET /common/countryCodes.","type":"string"},"number":{"description":"National phone number, digits only.","type":"string"},"fullPhone":{"description":"Dialling code and number joined into one string. Read-only.","type":"string"},"isActivated":{"description":"True once the contact has confirmed the number with the SMS code.","type":"boolean"},"isMobile":{"description":"True when the number can receive SMS.","type":"boolean"},"phoneStatus":{"format":"int32","description":"Delivery standing of the number: whether Raklet will send SMS to it.","enum":[0,-1],"type":"integer"},"isPrimary":{"description":"True for the number Raklet sends to by default. One per contact.","type":"boolean"},"id":{"format":"uuid","type":"string"}}},"Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.PhoneDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.PhoneDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Contact.WorkDto":{"required":["company"],"type":"object","properties":{"company":{"description":"Employer name. Feeds the company directory.","type":"string"},"position":{"description":"Job title held at the employer.","type":"string"},"sector":{"description":"Industry sector of the employer. Feeds the sector directory.","type":"string"},"startYear":{"format":"int32","description":"Year the contact started this role.","type":"integer"},"startMonth":{"format":"int32","description":"Month the contact started this role, 1 to 12.","type":"integer"},"endYear":{"format":"int32","description":"Year the contact left this role. Null while still there.","type":"integer"},"endMonth":{"format":"int32","description":"Month the contact left this role, 1 to 12. Null while still there.","type":"integer"},"city":{"description":"City the role is based in.","type":"string"},"country":{"description":"Country the role is based in.","type":"string"},"id":{"format":"uuid","type":"string"}}},"Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Contact.WorkDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Raklet.Api.Dtos.Contact.WorkDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Controllers.App.Connections.CorporateMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The corporate member's organisation membership id.","type":"string"},"name":{"description":"Company name of the corporate member.","type":"string"},"pictureUrl":{"description":"URL of the corporate member's logo. Empty when it has none.","type":"string"},"memberCount":{"format":"int32","description":"How many sub-members belong to this corporate member.","type":"integer"},"members":{"description":"The individual contacts belonging to this corporate member.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CorporateMemberSubMemberDto"}}}},"Raklet.Api.Controllers.App.Connections.CorporateMemberSubMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The sub-member's organisation membership id.","type":"string"},"firstName":{"description":"The sub-member's first name.","type":"string"},"lastName":{"description":"The sub-member's last name.","type":"string"},"pictureUrl":{"description":"URL of the sub-member's profile photo. Empty when they have none.","type":"string"},"title":{"description":"The sub-member's job title.","type":"string"},"fullName":{"description":"First and last name joined for display.","type":"string"}}},"Raklet.Api.Controllers.App.Connections.CountryDto":{"type":"object","properties":{"name":{"description":"Country name.","type":"string"},"code":{"description":"Two-letter ISO country code.","type":"string"},"count":{"format":"int32","description":"How many of the organisation's contacts live here.","type":"integer"},"members":{"description":"The contacts living here. Populated by the details endpoint only.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.CountryMemberDto"}}}},"Raklet.Api.Controllers.App.Connections.CountryMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The contact's organisation membership id.","type":"string"},"firstName":{"description":"The contact's first name.","type":"string"},"lastName":{"description":"The contact's last name.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo. Empty when they have none.","type":"string"},"title":{"description":"The contact's job title.","type":"string"},"fullName":{"description":"First and last name joined for display.","type":"string"},"type":{"format":"int32","description":"Whether the contact is an individual, a corporate member or a sub-member.","enum":[0,1,2,3,4,5,6],"type":"integer"}}},"CreditCardInstallmentRequestDto":{"type":"object","properties":{"cardNumber":{"description":"Card number, or just its first six digits: the issuer is what determines the instalment plans.","type":"string"},"price":{"format":"double","description":"Amount to be charged, used to work out each instalment.","type":"number"},"paymentObjectId":{"description":"The debt or membership fee the charge would settle.","type":"string"}}},"CreditCardInstallmentResponseDto":{"type":"object","properties":{"count":{"format":"int32","description":"Number of instalments in this plan.","type":"integer"},"originalPrice":{"format":"double","description":"Amount before any instalment surcharge.","type":"number"},"priceToPay":{"format":"double","description":"Total the contact pays under this plan, surcharge included.","type":"number"},"text":{"description":"The plan described for display, for example \"3 x 100.00\".","type":"string"}}},"CreditCardChargeRequestDto":{"required":["cardNumber","name","expireYear","expireMonth","securityCode"],"type":"object","properties":{"cardNumber":{"description":"Card number, digits only. Omit when paying with a saved card via CreditCardTokenId.","type":"string"},"name":{"description":"Cardholder name exactly as printed on the card.","type":"string"},"expireYear":{"description":"Four-digit expiry year.","type":"string"},"expireMonth":{"description":"Two-digit expiry month, 01 to 12.","type":"string"},"securityCode":{"description":"CVV or CVC from the back of the card.","type":"string"},"creditCardTokenId":{"description":"Identifier of a card the contact has already saved. Send this instead of the card details.","type":"string"},"installmentCount":{"format":"int32","description":"Number of instalments to split the charge over. 1 for a single payment; use PATCH InstallmentOptions to find what the card supports.","type":"integer"},"paymentObjectId":{"format":"uuid","description":"The debt or membership fee being paid. Null charges the contact's whole outstanding balance.","type":"string"},"currency":{"format":"int32","description":"Currency to charge in. Must match the debt being paid.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"isCardSaveEnabled":{"description":"True to store the card against the contact for future charges.","type":"boolean"}}},"CreditCardChargeResponseDto":{"type":"object","properties":{"transactionId":{"description":"Processor-side identifier for the charge. Keep it for reconciliation.","type":"string"},"isSucceded":{"description":"True when the card was charged. False leaves the debt outstanding.","type":"boolean"},"errorMessage":{"description":"Why the charge was declined. Empty on success.","type":"string"}}},"Services.Dtos.DonationCampaignDto":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"description":{"type":"string"},"shortDescription":{"type":"string"},"thumbnailUrl":{"type":"string"},"imageUrl":{"type":"string"},"imageThumbnailUrl":{"type":"string"},"url":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"goal":{"format":"double","type":"number"},"publishedOn":{"format":"date-time","type":"string"},"backersCount":{"format":"int32","type":"integer"},"percentage":{"format":"double","type":"number"},"daysLeft":{"format":"int32","type":"integer"},"organisation":{"$ref":"#/definitions/Services.Dtos.OrganisationBasicDto"},"donorList":{"type":"array","items":{"$ref":"#/definitions/Services.Dtos.DonorDto"}}}},"Services.Dtos.OrganisationBasicDto":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"permalink":{"type":"string"},"name":{"type":"string"},"logoUrl":{"type":"string"},"customDomain":{"type":"string"}}},"Services.Dtos.DonorDto":{"type":"object","properties":{"organisationMembershipId":{"format":"uuid","type":"string"},"fullName":{"type":"string"}}},"Raklet.Api.Controllers.App.Events.EventDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Event id.","type":"string"},"categoryIds":{"description":"Categories the event is filed under.","type":"array","items":{"format":"uuid","type":"string"}},"name":{"description":"Event name.","type":"string"},"shortDescription":{"description":"One-line summary used in listings.","type":"string"},"description":{"description":"Full event description, as HTML.","type":"string"},"organisationId":{"format":"uuid","description":"Organisation running the event.","type":"string"},"organisationName":{"description":"That organisation's display name.","type":"string"},"organisationPermalink":{"description":"That organisation's Raklet permalink, the subdomain its portal is served on.","type":"string"},"organisationLogoUrl":{"description":"URL of that organisation's logo.","type":"string"},"organisationCustomDomain":{"description":"That organisation's own domain, when it serves its portal on one.","type":"string"},"eventImageUrl":{"description":"Full-size cover image.","type":"string"},"eventThumbnailUrl":{"description":"Thumbnail of the cover image, for listings.","type":"string"},"startDateTime":{"format":"date-time","description":"When the event starts, in TimeZone.","type":"string"},"startDateTimeUnix":{"format":"int64","description":"Same start instant as Unix seconds, timezone-independent.","type":"integer"},"endDateTime":{"format":"date-time","description":"When the event ends, in TimeZone. Null when it has no set end.","type":"string"},"endDateTimeUnix":{"format":"int64","description":"Same end instant as Unix seconds.","type":"integer"},"salesEndDateTime":{"format":"date-time","description":"When ticket sales close, in TimeZone. Null to sell until the event starts.","type":"string"},"salesEndDateTimeUnix":{"format":"int64","description":"Same sales deadline as Unix seconds.","type":"integer"},"timeZone":{"description":"IANA timezone the local times above are expressed in.","type":"string"},"isTimeZoneSameWithOrganisation":{"description":"True when the event runs in the organisation's own timezone.","type":"boolean"},"address":{"description":"Street address of the venue. Empty for an online event.","type":"string"},"county":{"description":"County or district of the venue.","type":"string"},"city":{"description":"City of the venue.","type":"string"},"country":{"description":"Country of the venue.","type":"string"},"currency":{"description":"Currency ticket prices are in.","type":"string"},"isTicketInfoRequired":{"description":"True when the buyer must supply attendee details for every ticket, not just their own.","type":"boolean"},"availableTicketCount":{"format":"int32","description":"Tickets still on sale across all options.","type":"integer"},"soldTicketCount":{"format":"int32","description":"Tickets sold so far.","type":"integer"},"isPublic":{"description":"True when the event is listed on the organisation's public portal, false when it is members-only.","type":"boolean"},"eventTicketOptionCount":{"format":"int32","description":"How many ticket types the event has.","type":"integer"},"eventTicketOptionDtos":{"description":"The ticket types on sale. Populated by the ticket options endpoint.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventTicketOptionDto"}}}},"Raklet.Api.Controllers.App.Events.EventTicketOptionDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Ticket option id. Send it when reserving tickets.","type":"string"},"name":{"description":"Name of the ticket type, for example \"Early bird\".","type":"string"},"description":{"description":"What this ticket type includes.","type":"string"},"price":{"format":"double","description":"Price per ticket. Zero for a free ticket.","type":"number"},"minPrice":{"format":"double","description":"Lowest price accepted for a pay-what-you-want ticket.","type":"number"},"salesEndDate":{"format":"date-time","description":"When this ticket type stops being sold. Null to follow the event's own deadline.","type":"string"},"accessType":{"description":"Who may buy it: anyone, or members only.","type":"string"},"ticketType":{"description":"Whether the price is fixed, free, or chosen by the buyer.","type":"string"},"maxQuantity":{"format":"int32","description":"Most tickets of this type one order may contain.","type":"integer"},"availableTicketCount":{"format":"int32","description":"Tickets of this type still on sale.","type":"integer"}}},"Raklet.Api.Controllers.App.Events.EventTicketOrdersDto":{"type":"object","properties":{"organisationMembershipId":{"format":"uuid","description":"Contact the tickets are being reserved for.","type":"string"},"eventTicketOrderDtos":{"description":"The ticket types and quantities being ordered.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventTicketOrderItemDto"}}}},"Raklet.Api.Controllers.App.Events.EventTicketOrderItemDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Ticket option being ordered.","type":"string"},"count":{"format":"int32","description":"How many of this ticket type.","type":"integer"},"price":{"format":"double","description":"Price per ticket. Must equal the option's price, or fall at or above MinPrice for a pay-what-you-want ticket.","type":"number"}}},"Raklet.Api.Controllers.App.Events.EventTicketDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Ticket order id. Send it back to pay for the order.","type":"string"},"organisationId":{"format":"uuid","description":"Organisation running the event.","type":"string"},"eventId":{"format":"uuid","description":"Event the tickets are for.","type":"string"},"organisationMembershipId":{"format":"uuid","description":"Contact who placed the order.","type":"string"},"billingInfoFirstName":{"description":"Billing contact's first name.","type":"string"},"billingInfoLastName":{"description":"Billing contact's last name.","type":"string"},"billingInfoEmail":{"description":"Billing email address. The order confirmation goes here.","type":"string"},"billingInfoPhone":{"description":"Billing phone number.","type":"string"},"billingInfoTaxNumber":{"description":"Tax or VAT number, where the organisation invoices.","type":"string"},"billingInfoAddressDetail":{"description":"Billing street address.","type":"string"},"billingInfoCity":{"description":"Billing city.","type":"string"},"billingInfoCountry":{"description":"Billing country.","type":"string"},"otherInfo":{"description":"Free-text notes captured with the order.","type":"string"},"ticketInfoDtos":{"description":"The individual tickets in this order, one per attendee.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Events.EventTicketItemDto"}}}},"Raklet.Api.Controllers.App.Events.EventTicketItemDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Ticket id.","type":"string"},"ticketOptionId":{"description":"Ticket type this ticket was bought under.","type":"string"},"ticketName":{"description":"Name of that ticket type.","type":"string"},"price":{"format":"double","description":"Price paid for this ticket.","type":"number"},"currency":{"format":"int32","description":"Currency of that price.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"firstName":{"description":"Attendee's first name.","type":"string"},"lastName":{"description":"Attendee's last name.","type":"string"},"email":{"description":"Attendee's email address. The ticket is sent here.","type":"string"},"phone":{"description":"Attendee's phone number.","type":"string"},"companyName":{"description":"Attendee's company, where the event collects it.","type":"string"},"accessType":{"format":"int32","description":"Whether the ticket was sold to anyone or to members only.","enum":[0,1,2],"type":"integer"},"ticketType":{"format":"int32","description":"Whether the price was fixed, free, or chosen by the buyer.","enum":[0,1,2],"type":"integer"},"ticketSalesType":{"format":"int32","description":"Sales channel the ticket came through.","enum":[0,1,2],"type":"integer"},"isCheckIn":{"description":"True once the attendee has been checked in at the door.","type":"boolean"}}},"Raklet.Api.Controllers.App.Events.CreditCardChargeTicketRequestDto":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","description":"Ticket order being paid for.","type":"string"},"amount":{"format":"double","description":"Amount to charge. Must match the order total.","type":"number"},"currency":{"format":"int32","description":"Currency to charge in.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"organisationMembershipId":{"format":"uuid","description":"Contact the order belongs to.","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership","description":"The contact record behind OrganisationMembershipId. Ignored on input; send the id instead."},"ticketPaymentId":{"format":"uuid","description":"Payment record opened for this order.","type":"string"},"paymentType":{"format":"int32","description":"What the charge is for. Event ticket, here.","enum":[0,1,2,3],"type":"integer"},"createdOn":{"format":"date-time","description":"When the charge was attempted, UTC.","type":"string"},"installmentCount":{"format":"int32","description":"Number of instalments to split the charge over. 1 for a single payment.","type":"integer"},"name":{"description":"Cardholder name exactly as printed on the card.","type":"string"},"cardNumber":{"description":"Card number, digits only.","type":"string"},"ipAddress":{"description":"Buyer's IP address, recorded for fraud screening.","type":"string"},"expireMonth":{"description":"Two-digit expiry month, 01 to 12.","type":"string"},"expireYear":{"description":"Four-digit expiry year.","type":"string"},"securityCode":{"description":"CVV or CVC from the back of the card.","type":"string"},"isCardSaveEnabled":{"description":"True to store the card against the contact for future charges.","type":"boolean"}}},"Models.OrganisationMembership":{"required":["firstName","lastName","language","organisationId","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"firstName":{"pattern":"^[^<>]*$","type":"string"},"lastName":{"pattern":"^[^<>]*$","type":"string"},"about":{"pattern":"^[^<>]*$","type":"string"},"language":{"type":"string"},"nationalId":{"pattern":"^[^<>]*$","type":"string"},"taxNumber":{"pattern":"^[^<>]*$","type":"string"},"memberNo":{"type":"string"},"memberNoInt":{"format":"int32","type":"integer"},"memberNoSortable":{"type":"string"},"membershipDate":{"format":"date-time","type":"string"},"title":{"pattern":"^[^<>]*$","type":"string"},"pictureUrl":{"type":"string"},"balance":{"format":"double","type":"number"},"paymentsTotal":{"format":"double","type":"number"},"debtTotal":{"format":"double","type":"number"},"status":{"format":"int32","enum":[0,-4,-3,-2,-1],"type":"integer"},"type":{"format":"int32","enum":[0,1,2,3,4,5,6],"type":"integer"},"state":{"format":"int32","enum":[0,-9],"type":"integer"},"profileViewCount":{"format":"int32","type":"integer"},"customAttributesValues":{"type":"string"},"name":{"type":"string"},"website":{"type":"string"},"isCorporateResponsible":{"type":"boolean"},"customMemberTypeId":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"primaryEmailId":{"format":"uuid","type":"string"},"emailAddress":{"pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"primaryPhoneId":{"format":"uuid","type":"string"},"phoneCountryCode":{"type":"string"},"phoneNumber":{"type":"string"},"phoneIsMobile":{"type":"boolean"},"primaryAddressId":{"format":"uuid","type":"string"},"addressDetails":{"type":"string"},"addressCounty":{"type":"string"},"addressPostalCode":{"type":"string"},"addressCity":{"type":"string"},"addressState":{"type":"string"},"addressCountry":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"passwordSalt":{"type":"string"},"decisionNumber":{"type":"string"},"decisionDate":{"format":"date-time","type":"string"},"resignDate":{"format":"date-time","type":"string"},"resignReason":{"type":"string"},"resignDecisionNumber":{"type":"string"},"maritalStatus":{"format":"int32","enum":[0,1,2,3,4,5,6],"type":"integer"},"marriageDate":{"format":"date-time","type":"string"},"maidenName":{"type":"string"},"isWorkShared":{"type":"boolean"},"isEducationShared":{"type":"boolean"},"isGroupShared":{"type":"boolean"},"isMessagingEnabled":{"type":"boolean"},"isProfileVisible":{"type":"boolean"},"isLookingForAJob":{"type":"boolean"},"lookingForAJobType":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"lookingJobDescription":{"maxLength":60,"minLength":0,"type":"string"},"isEmailShared":{"type":"boolean"},"isPhoneShared":{"type":"boolean"},"isAddressShared":{"type":"boolean"},"isProfileHelpShown":{"type":"boolean"},"isContactInfoHelpShown":{"type":"boolean"},"birthDate":{"format":"date-time","type":"string"},"birthPlace":{"pattern":"^[^<>]*$","type":"string"},"gender":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"bloodType":{"format":"int32","enum":[0,1,2,3,4,-4,-3,-2,-1],"type":"integer"},"lastLoggedOn":{"format":"date-time","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"statusOnDate":{"format":"date-time","type":"string"},"nuxId":{"format":"uuid","type":"string"},"isTermsOfUseAccepted":{"type":"boolean"},"isTermsOfUse2Accepted":{"type":"boolean"},"termsOfUseAcceptedDate":{"format":"date-time","type":"string"},"termsOfUseAcceptedIpAddress":{"type":"string"},"addressCountrySlug":{"type":"string"},"addressCitySlug":{"type":"string"},"facebookUrl":{"type":"string"},"linkedInUrl":{"type":"string"},"twitterUrl":{"type":"string"},"instagramUrl":{"type":"string"},"segments":{"type":"array","items":{"$ref":"#/definitions/Models.Segment"}},"customMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.CustomMembership"}},"emails":{"type":"array","items":{"$ref":"#/definitions/Models.Email"}},"phones":{"type":"array","items":{"$ref":"#/definitions/Models.Phone"}},"addresses":{"type":"array","items":{"$ref":"#/definitions/Models.Address"}},"works":{"type":"array","items":{"$ref":"#/definitions/Models.Work"}},"educations":{"type":"array","items":{"$ref":"#/definitions/Models.Education"}},"groupMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.GroupMembership"}},"payments":{"type":"array","items":{"$ref":"#/definitions/Models.Payment"}},"membershipFees":{"type":"array","items":{"$ref":"#/definitions/Models.MembershipFee"}},"roles":{"type":"array","items":{"$ref":"#/definitions/Models.Role"}},"smses":{"type":"array","items":{"$ref":"#/definitions/Models.Sms"}},"mails":{"type":"array","items":{"$ref":"#/definitions/Models.Mail"}},"paymentTickets":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentTicket"}},"tags":{"type":"array","items":{"$ref":"#/definitions/Models.Tag"}},"newsletters":{"type":"array","items":{"$ref":"#/definitions/Models.Newsletter"}},"activities":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembershipActivity"}},"checkIns":{"type":"array","items":{"$ref":"#/definitions/Models.CheckIn"}},"loginActivities":{"type":"array","items":{"$ref":"#/definitions/Models.LoginActivity"}},"unsubscribes":{"type":"array","items":{"$ref":"#/definitions/Models.Unsubscribe"}},"conversationMembers":{"type":"array","items":{"$ref":"#/definitions/Models.ConversationMember"}},"notes":{"type":"array","items":{"$ref":"#/definitions/Models.Note"}},"paymentMatches":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentMatch"}},"bulkEmails":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmail"}},"jobPostings":{"type":"array","items":{"$ref":"#/definitions/Models.JobPosting"}},"offeredServices":{"type":"array","items":{"$ref":"#/definitions/Models.OfferedService"}},"supportTicketMessages":{"type":"array","items":{"$ref":"#/definitions/Models.SupportTicketMessage"}},"parentOrganisationMembershipId":{"format":"uuid","type":"string"},"parentOrganisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"childOrganisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}},"organisationMembershipFiles":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembershipFile"}},"familyMembers":{"type":"array","items":{"$ref":"#/definitions/Models.FamilyMember"}},"debts":{"type":"array","items":{"$ref":"#/definitions/Models.Debt"}},"eventV2Tickets":{"type":"array","items":{"$ref":"#/definitions/Models.EventV2Ticket"}},"memberSelectors":{"type":"array","items":{"$ref":"#/definitions/Models.MemberSelector"}},"isUnsubscribeFromAllSms":{"type":"boolean"},"smsBlastCategoryUnsubscribes":{"type":"array","items":{"$ref":"#/definitions/Models.SmsBlastCategoryUnsubscribe"}},"creditCardTokens":{"type":"array","items":{"$ref":"#/definitions/Models.CreditCardToken"}},"creditCardSubscriptions":{"type":"array","items":{"$ref":"#/definitions/Models.CreditCardSubscription"}},"contactCategories":{"type":"array","items":{"$ref":"#/definitions/Models.ContactCategory"}},"dataExportLogs":{"type":"array","items":{"$ref":"#/definitions/Models.DataExportLog"}},"dataImportLogs":{"type":"array","items":{"$ref":"#/definitions/Models.DataImportLog"}},"smsCreditPurchases":{"type":"array","items":{"$ref":"#/definitions/Models.Models.SmsCreditPurchase"}},"announcements":{"type":"array","items":{"$ref":"#/definitions/Models.Announcement"}},"categorySubscribers":{"type":"array","items":{"$ref":"#/definitions/Models.CategorySubscriber"}},"announcementSubscribers":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementSubscriber"}},"announcementComments":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementComment"}},"announcementLikes":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementLike"}},"announcementCommentLikes":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementCommentLike"}},"announcementCommentAttachments":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementCommentAttachment"}},"profileVisibility":{"format":"int32","enum":[0,1,2],"type":"integer"},"fullName":{"type":"string","readOnly":true},"fullPhone":{"type":"string","readOnly":true},"fullAddress":{"type":"string","readOnly":true},"isSmsSendable":{"type":"boolean","readOnly":true}}},"Models.Organisation":{"required":["name","shortName","permalink","language","timeZoneId"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"pattern":"^[^<>]*$","type":"string"},"shortName":{"pattern":"^[^<>]*$","type":"string"},"permalink":{"type":"string"},"language":{"type":"string"},"timeZoneId":{"type":"string"},"dateFormat":{"type":"string"},"timeFormat":{"type":"string"},"stripeCustomerId":{"type":"string"},"stripePlanId":{"type":"string"},"activeUntil":{"format":"date-time","type":"string"},"systemAttributes":{"type":"string"},"customAttributes":{"type":"string"},"organisationColor1":{"type":"string"},"organisationColor2":{"type":"string"},"categoryPrimary":{"type":"string"},"categorySecondary":{"type":"string"},"companySize":{"type":"string"},"howDidYouHearUs":{"type":"string"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"state":{"format":"int32","enum":[0,-9],"type":"integer"},"logoUrl":{"type":"string"},"logoWidth":{"format":"int32","type":"integer"},"logoHeight":{"format":"int32","type":"integer"},"loginPageTitle":{"pattern":"^[^<>]*$","type":"string"},"isDeleted":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"smsProfit":{"format":"double","type":"number"},"invoiceAddress":{"type":"string"},"invoiceText":{"type":"string"},"isPaymentRequiredForAccess":{"type":"boolean"},"isLoginSocialNetworkEnabled":{"type":"boolean"},"isLoginSmsEnabled":{"type":"boolean"},"isLoginPasswordEnabled":{"type":"boolean"},"isLoginWithOneTimeLoginEnabled":{"type":"boolean"},"isLoginTwoFactorEnabled":{"type":"boolean"},"isMemberListVisible":{"type":"boolean"},"isCompanyListVisible":{"type":"boolean"},"isSectorListVisible":{"type":"boolean"},"isSchoolListVisible":{"type":"boolean"},"isCityListVisible":{"type":"boolean"},"isCountryListVisible":{"type":"boolean"},"isJobPostingsEnabled":{"type":"boolean"},"isOfferedServicesEnabled":{"type":"boolean"},"publicCoursesEnabled":{"type":"boolean"},"isApplicationFormEnabled":{"type":"boolean"},"isSignupFormEnabled":{"type":"boolean"},"applicationFormTitle":{"type":"string"},"applicationFormHeader":{"type":"string"},"applicationFormFooter":{"type":"string"},"applicationFormBenefits":{"type":"string"},"membershipTerms":{"type":"string"},"termsOfUseApp":{"type":"string"},"termsOfUse2App":{"type":"string"},"applicationFormIsAddressEnabled":{"type":"boolean"},"applicationFormIsCommentsEnabled":{"type":"boolean"},"applicationFormIsGenderEnabled":{"type":"boolean"},"applicationFormIsBirthDateEnabled":{"type":"boolean"},"applicationFormIsBirthPlaceEnabled":{"type":"boolean"},"applicationFormIsNationalityEnabled":{"type":"boolean"},"applicationFormIsNationalIdEnabled":{"type":"boolean"},"applicationFormIsTaxNumberEnabled":{"type":"boolean"},"applicationFormIsUnder18ControlEnabled":{"type":"boolean"},"applicationFormIsCreditCardFormEnabled":{"type":"boolean"},"applicationFormRegistrationFee":{"format":"double","type":"number"},"applicationFormAgreement":{"type":"string"},"applicationFormCustomAttributes":{"type":"string"},"smsIsEnabled":{"type":"boolean"},"isPaymentEnabled":{"type":"boolean"},"isDonationEnabled":{"type":"boolean"},"isCustomPaymentEnabled":{"type":"boolean"},"paymentHeader":{"type":"string"},"paymentFooter":{"type":"string"},"isManualPayoutsEnabled":{"type":"boolean"},"isPayUEnabled":{"type":"boolean"},"isMikroOdemeEnabled":{"type":"boolean"},"mikroOdemeUsername":{"pattern":"^[^<>]*$","type":"string"},"mikroOdemePassword":{"pattern":"^[^<>]*$","type":"string"},"isPayPalEnabled":{"type":"boolean"},"paypalMerchantId":{"pattern":"^[^<>]*$","type":"string"},"isOnlineCreditCardEnabled":{"type":"boolean"},"onlineCreditCardSubMerchantId":{"pattern":"^[^<>]*$","type":"string"},"creditCardProcessor":{"format":"int32","enum":[0,1,2,4,5,6],"type":"integer"},"defaultPaymentAccountId":{"format":"uuid","type":"string"},"defaultDonationPaymentAccountId":{"format":"uuid","type":"string"},"commissionRate":{"format":"double","type":"number"},"commissionFee":{"format":"double","type":"number"},"commissionFeeCurrency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"isPublicDonationEnabled":{"type":"boolean"},"organisationSupportEmail":{"pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"organisationSupportPhone":{"type":"string"},"welcomeImageUrl":{"type":"string"},"welcomeSubject":{"type":"string"},"welcomeText":{"type":"string"},"defaultPhoneCountryCode":{"type":"string"},"defaultAddressCountry":{"type":"string"},"defaultSmsIdentityId":{"format":"uuid","type":"string"},"defaultEmailIdentityId":{"format":"uuid","type":"string"},"memberNoType":{"format":"int32","enum":[0,1,2],"type":"integer"},"memberNoPrefix":{"type":"string"},"companyMemberNoPrefix":{"type":"string"},"legalEntityVerificationDocumentUrl":{"type":"string"},"legalEntityOwnersVerificationDocumentUrl":{"type":"string"},"isWeeklyNewsletterEnabled":{"type":"boolean"},"isWeeklyNewsletterAnnouncements":{"type":"boolean"},"isWeeklyNewsletterDonationCampaigns":{"type":"boolean"},"isWeeklyNewsletterNewMembersEnabled":{"type":"boolean"},"isWeeklyNewsletterJobOffers":{"type":"boolean"},"isWeeklyNewsletterJobSeekers":{"type":"boolean"},"isWeeklyNewsletterServices":{"type":"boolean"},"isWeeklyNewsletterMemberUnreadMessages":{"type":"boolean"},"isWeeklyNewsletterMemberDebt":{"type":"boolean"},"googleAnalyticsTrackerId":{"type":"string"},"otherDonationOptions":{"type":"string"},"isMemberVisibilityHiddenForNewMembers":{"type":"boolean"},"memberSmsEnabledNotification":{"type":"string"},"memberEmailEnabledNotification":{"type":"string"},"organisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}},"groups":{"type":"array","items":{"$ref":"#/definitions/Models.Group"}},"groupCategories":{"type":"array","items":{"$ref":"#/definitions/Models.GroupCategory"}},"emailIdentities":{"type":"array","items":{"$ref":"#/definitions/Models.EmailIdentity"}},"smsIdentities":{"type":"array","items":{"$ref":"#/definitions/Models.SmsIdentity"}},"bulkSmses":{"type":"array","items":{"$ref":"#/definitions/Models.BulkSms"}},"bulkEmails":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmail"}},"donationCampaigns":{"type":"array","items":{"$ref":"#/definitions/Models.DonationCampaign"}},"memberLists":{"type":"array","items":{"$ref":"#/definitions/Models.MemberList"}},"payments":{"type":"array","items":{"$ref":"#/definitions/Models.Payment"}},"paymentTickets":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentTicket"}},"events":{"type":"array","items":{"$ref":"#/definitions/Models.Event"}},"organisationMembershipActivities":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembershipActivity"}},"loginActivities":{"type":"array","items":{"$ref":"#/definitions/Models.LoginActivity"}},"announcements":{"type":"array","items":{"$ref":"#/definitions/Models.Announcement"}},"jobPostings":{"type":"array","items":{"$ref":"#/definitions/Models.JobPosting"}},"conversations":{"type":"array","items":{"$ref":"#/definitions/Models.Conversation"}},"invoices":{"type":"array","items":{"$ref":"#/definitions/Models.Invoice"}},"offeredServices":{"type":"array","items":{"$ref":"#/definitions/Models.OfferedService"}},"customPaymentButtons":{"type":"array","items":{"$ref":"#/definitions/Models.CustomPaymentButton"}},"mailTemplates":{"type":"array","items":{"$ref":"#/definitions/Models.MailTemplate"}},"customMemberTypes":{"type":"array","items":{"$ref":"#/definitions/Models.CustomMemberType"}},"customMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.CustomMembership"}},"socialNetworks":{"type":"array","items":{"$ref":"#/definitions/Models.SocialNetwork"}},"annualMembershipFees":{"type":"array","items":{"$ref":"#/definitions/Models.AnnualMembershipFee"}},"eventV2s":{"type":"array","items":{"$ref":"#/definitions/Models.EventV2"}},"adminReportReceivers":{"type":"array","items":{"$ref":"#/definitions/Models.AdminReportReceiver"}},"importJobs":{"type":"array","items":{"$ref":"#/definitions/Models.ImportJob"}},"staticPages":{"type":"array","items":{"$ref":"#/definitions/Models.StaticPage"}},"paymentAccounts":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentAccount"}},"publicDonations":{"type":"array","items":{"$ref":"#/definitions/Models.PublicDonation"}},"dataExportLogs":{"type":"array","items":{"$ref":"#/definitions/Models.DataExportLog"}},"dataImportLogs":{"type":"array","items":{"$ref":"#/definitions/Models.DataImportLog"}},"organisationRakletApps":{"type":"array","items":{"$ref":"#/definitions/Models.Models.OrganisationRakletApp"}},"smsSettings":{"type":"array","items":{"$ref":"#/definitions/Models.SmsSetting"}},"smsBalances":{"type":"array","items":{"$ref":"#/definitions/Models.Models.SmsBalance"}},"smsCreditPurchases":{"type":"array","items":{"$ref":"#/definitions/Models.Models.SmsCreditPurchase"}},"categories":{"type":"array","items":{"$ref":"#/definitions/Models.Category"}},"parentOrganisationId":{"format":"uuid","type":"string"},"parentOrganisation":{"$ref":"#/definitions/Models.Organisation"},"childOrganisations":{"type":"array","items":{"$ref":"#/definitions/Models.Organisation"}},"balance":{"format":"double","type":"number"},"totalCost":{"format":"double","type":"number"},"totalProfit":{"format":"double","type":"number"},"customDomain":{"type":"string"},"rowVersion":{"format":"byte","type":"string"},"lastActivityDate":{"format":"date-time","type":"string"},"deletionDate":{"format":"date-time","type":"string"},"bypassInactivityChecks":{"type":"boolean"}}},"Models.Segment":{"required":["id","name","organisationId","searchQueryJson","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"pattern":"^[^<>]*$","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"searchQueryJson":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"},"contacts":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}},"memberSelectors":{"type":"array","items":{"$ref":"#/definitions/Models.MemberSelector"}}}},"Models.CustomMembership":{"required":["customMemberTypeId","status","startDate"],"type":"object","properties":{"customMemberTypeId":{"format":"uuid","pattern":"^[^<>]*$","type":"string"},"customMemberType":{"$ref":"#/definitions/Models.CustomMemberType"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"status":{"format":"int32","pattern":"^[^<>]*$","enum":[0,4,-3,-2,-1],"type":"integer"},"startDate":{"format":"date-time","pattern":"^[^<>]*$","type":"string"},"endDate":{"format":"date-time","type":"string"},"renewalDate":{"format":"date-time","type":"string"},"nextReminderDate":{"format":"date-time","type":"string"},"gracePeriodEndDate":{"format":"date-time","type":"string"},"disableReminder":{"type":"boolean"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"balance":{"format":"double","type":"number"},"paymentsTotal":{"format":"double","type":"number"},"debtsTotal":{"format":"double","type":"number"},"couponId":{"maxLength":200,"minLength":0,"type":"string"},"parentMembershipId":{"format":"uuid","type":"string"},"parentMembership":{"$ref":"#/definitions/Models.CustomMembership"},"childMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.CustomMembership"}},"rowVersion":{"format":"byte","type":"string"},"id":{"format":"uuid","type":"string"},"isDeleted":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Email":{"required":["emailAddress","isActivated","createdOn","lastModifiedOn","userIsValid"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"emailAddress":{"pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"isActivated":{"type":"boolean"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"emailStatus":{"format":"int32","enum":[0,-1],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"userIsValid":{"type":"boolean"},"category":{"format":"int32","enum":[0,1,2],"type":"integer"}}},"Models.Phone":{"required":["countryCode","number","createdOn","lastModifiedOn","userIsValid"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"countryCode":{"type":"string"},"number":{"type":"string"},"isActivated":{"type":"boolean"},"isMobile":{"type":"boolean"},"phoneStatus":{"format":"int32","enum":[0,-1],"type":"integer"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"activationCode":{"format":"int32","type":"integer"},"activationCodeSentOn":{"format":"date-time","type":"string"},"activationCodeTryCount":{"format":"int32","type":"integer"},"loginCode":{"format":"int32","type":"integer"},"loginCodeSentOn":{"format":"date-time","type":"string"},"loginCodeTryCount":{"format":"int32","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"userIsValid":{"type":"boolean"},"category":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"countryCodeAndNumber":{"type":"string","readOnly":true}}},"Models.Address":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"details":{"pattern":"^[^<>]*$","type":"string"},"county":{"pattern":"^[^<>]*$","type":"string"},"postalCode":{"pattern":"^[^<>]*$","type":"string"},"city":{"pattern":"^[^<>]*$","type":"string"},"state":{"pattern":"^[^<>]*$","type":"string"},"country":{"pattern":"^[^<>]*$","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"countrySlug":{"type":"string"},"citySlug":{"type":"string"},"geoLatitude":{"format":"double","type":"number"},"geoLongitude":{"format":"double","type":"number"},"category":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"fullAddress":{"type":"string","readOnly":true}}},"Models.Work":{"required":["company","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"company":{"pattern":"^[^<>]*$","type":"string"},"position":{"pattern":"^[^<>]*$","type":"string"},"sector":{"pattern":"^[^<>]*$","type":"string"},"startYear":{"format":"int32","type":"integer"},"startMonth":{"format":"int32","type":"integer"},"endYear":{"format":"int32","type":"integer"},"endMonth":{"format":"int32","type":"integer"},"city":{"pattern":"^[^<>]*$","type":"string"},"country":{"pattern":"^[^<>]*$","type":"string"},"webSite":{"pattern":"^[^<>]*$","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"companySlug":{"type":"string"},"workSectors":{"type":"array","items":{"$ref":"#/definitions/Models.Models.WorkSector"}}}},"Models.Education":{"required":["school","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"school":{"pattern":"^[^<>]*$","type":"string"},"department":{"pattern":"^[^<>]*$","type":"string"},"faculty":{"pattern":"^[^<>]*$","type":"string"},"educationLevel":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11],"type":"integer"},"startYear":{"format":"int32","type":"integer"},"endYear":{"format":"int32","type":"integer"},"city":{"pattern":"^[^<>]*$","type":"string"},"country":{"pattern":"^[^<>]*$","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isLocked":{"type":"boolean"},"schoolSlug":{"type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"}}},"Models.GroupMembership":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"groupId":{"format":"uuid","type":"string"},"group":{"$ref":"#/definitions/Models.Group"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"groupMembershipType":{"format":"int32","enum":[0,1,2],"type":"integer"},"groupMembershipStatus":{"format":"int32","enum":[0,1],"type":"integer"},"emailDeliveryType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"smsDeliveryType":{"format":"int32","enum":[0,1,2],"type":"integer"},"viewCount":{"format":"int32","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"posts":{"type":"array","items":{"$ref":"#/definitions/Models.Post"}}}},"Models.Payment":{"required":["amount","currency","paymentMethod","paymentDate","paymentType","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"amount":{"format":"double","type":"number"},"oldAmount":{"format":"double","type":"number"},"paidAmount":{"format":"double","type":"number"},"paidCurrency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"paymentMethod":{"format":"int32","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"paymentDate":{"format":"date-time","type":"string"},"paymentType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"feeType":{"format":"int32","enum":[0,1,2],"type":"integer"},"referenceNumber":{"type":"string"},"identifier":{"type":"string"},"paymentTransactionId":{"type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"donationCampaignId":{"format":"uuid","type":"string"},"donationCampaign":{"$ref":"#/definitions/Models.DonationCampaign"},"_DonationCampaignName":{"type":"string"},"isDonorNameHidden":{"type":"boolean"},"isRecurringPayment":{"type":"boolean"},"publicDonationId":{"format":"uuid","type":"string"},"publicDonation":{"$ref":"#/definitions/Models.PublicDonation"},"paymentAccountId":{"format":"uuid","type":"string"},"customMemberTypeId":{"format":"uuid","type":"string"},"customMemberType":{"$ref":"#/definitions/Models.CustomMemberType"},"_CustomMemberTypeName":{"type":"string"},"customMembershipId":{"format":"uuid","type":"string"},"customMembership":{"$ref":"#/definitions/Models.CustomMembership"},"eventId":{"format":"uuid","type":"string"},"_EventName":{"type":"string"},"couponId":{"maxLength":200,"minLength":0,"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"paymentNotifications":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentNotification"}},"debts":{"type":"array","items":{"$ref":"#/definitions/Models.Debt"}},"refunds":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentRefund"}},"isManualPayment":{"type":"boolean","readOnly":true},"status":{"format":"int32","enum":[0,1,3],"type":"integer"}}},"Models.MembershipFee":{"required":["amount","currency","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"amount":{"format":"double","type":"number"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"description":{"type":"string"},"year":{"format":"int32","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Role":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}}}},"Models.Sms":{"required":["text","phoneNumber","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"bulkSmsItemId":{"format":"uuid","type":"string"},"bulkSmsItem":{"$ref":"#/definitions/Models.BulkSmsItem"},"smsIdentityId":{"format":"uuid","type":"string"},"smsIdentity":{"$ref":"#/definitions/Models.SmsIdentity"},"fullName":{"type":"string"},"text":{"pattern":"^[ A-Za-z0-9_@./#&+-/'?*=()%!:|\n]*$","type":"string"},"phoneNumber":{"type":"string"},"processingTime":{"format":"int64","type":"integer"},"messageId":{"type":"string"},"type":{"format":"int32","enum":[0,1,2,3,4,5,6],"type":"integer"},"status":{"format":"int32","enum":[0,1,2,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"errorMessage":{"type":"string"},"sentInMiliseconds":{"format":"int64","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Mail":{"required":["fromAddress","toAddress","subject","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"emailIdentityId":{"format":"uuid","type":"string"},"emailIdentity":{"$ref":"#/definitions/Models.EmailIdentity"},"organisationMembershipId":{"format":"uuid","type":"string"},"bulkEmailItemId":{"format":"uuid","type":"string"},"oneTimeLoginId":{"format":"uuid","type":"string"},"activationEmailId":{"format":"uuid","type":"string"},"applicationFormId":{"format":"uuid","type":"string"},"conversationId":{"format":"uuid","type":"string"},"fileUrl":{"type":"string"},"fromAddress":{"type":"string"},"fromDisplayName":{"type":"string"},"toAddress":{"type":"string"},"toDisplayName":{"type":"string"},"subject":{"type":"string"},"sentInMiliseconds":{"format":"int64","type":"integer"},"messageId":{"type":"string"},"type":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"status":{"format":"int32","enum":[0,1,2,3,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4,5,6,99,100,101,102],"type":"integer"},"errorMessage":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.PaymentTicket":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"applicationFormId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"amount":{"format":"double","type":"number"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"status":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"donationCampaignId":{"format":"uuid","type":"string"},"donationCampaign":{"$ref":"#/definitions/Models.DonationCampaign"},"publicDonationId":{"format":"uuid","type":"string"},"publicDonation":{"$ref":"#/definitions/Models.PublicDonation"},"_DonationCampaignName":{"type":"string"},"isDonorNameHidden":{"type":"boolean"},"isRecurringPayment":{"type":"boolean"},"customMemberTypeId":{"format":"uuid","type":"string"},"customMemberType":{"$ref":"#/definitions/Models.CustomMemberType"},"_CustomMemberTypeName":{"type":"string"},"customMembershipId":{"format":"uuid","type":"string"},"customMembership":{"$ref":"#/definitions/Models.CustomMembership"},"paymentAccountId":{"format":"uuid","type":"string"},"paymentType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"paymentMethod":{"format":"int32","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"creditCardTokenId":{"format":"uuid","type":"string"},"paymentDate":{"format":"date-time","type":"string"},"scheduleRule":{"type":"string"},"scheduleEndDate":{"format":"date-time","type":"string"},"schedulePaymentGroupId":{"format":"uuid","type":"string"},"lastPurchaseTry":{"format":"date-time","type":"string"},"tryCount":{"format":"int32","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"referenceNumber":{"type":"string"},"identifier":{"type":"string"},"paymentErrorMessage":{"type":"string"},"paymentTicketInvoices":{"type":"array","items":{"$ref":"#/definitions/Models.Models.PaymentTicketInvoice"}}}},"Models.Tag":{"required":["name","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"isVisible":{"type":"boolean"},"isMemberSelectable":{"type":"boolean"},"name":{"pattern":"^[^<>]*$","type":"string"},"isDeleted":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"organisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}},"memberListFilters":{"type":"array","items":{"$ref":"#/definitions/Models.MemberListFilter"}},"bulkEmails":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmail"}},"memberSelectors":{"type":"array","items":{"$ref":"#/definitions/Models.MemberSelector"}},"hiddenFromAll":{"type":"boolean"}}},"Models.Newsletter":{"required":["title","createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"tagId":{"format":"uuid","type":"string"},"imageUrl":{"type":"string"},"title":{"maxLength":500,"minLength":0,"pattern":"^[^<>]*$","type":"string"},"description":{"pattern":"^[^<>]*$","type":"string"},"permissionType":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"},"isDefault":{"type":"boolean"},"slug":{"type":"string"},"slugUrl":{"type":"string","readOnly":true}}},"Models.OrganisationMembershipActivity":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"type":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,-1],"type":"integer"},"objectId":{"format":"uuid","type":"string"},"value":{"type":"string"},"oldValue":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"fullName":{"type":"string","readOnly":true}}},"Models.CheckIn":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"eventId":{"format":"uuid","type":"string"},"event":{"$ref":"#/definitions/Models.Event"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.LoginActivity":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"identifier":{"type":"string"},"ipAddress":{"type":"string"},"type":{"format":"int32","enum":[0,1,2,-2,-1],"type":"integer"},"provider":{"format":"int32","enum":[0,1,2,3,4,5,6],"type":"integer"},"errorMessage":{"type":"string"},"fullName":{"type":"string","readOnly":true},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Unsubscribe":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"emailIdentityId":{"format":"uuid","type":"string"},"emailIdentity":{"$ref":"#/definitions/Models.EmailIdentity"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"createdOn":{"format":"date-time","type":"string"}}},"Models.ConversationMember":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"conversationId":{"format":"uuid","type":"string"},"conversation":{"$ref":"#/definitions/Models.Conversation"},"organisationMembershipId":{"format":"uuid","type":"string"},"_FullName":{"type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"isConversationDeleted":{"type":"boolean"},"conversationDeletedDate":{"format":"date-time","type":"string"},"lastViewedOn":{"format":"date-time","type":"string"}}},"Models.Note":{"required":["text","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"text":{"pattern":"^[^<>]*$","type":"string"},"modifiedByName":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.PaymentMatch":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"identifier":{"type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"}}},"Models.BulkEmail":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"emailIdentityId":{"format":"uuid","type":"string"},"emailIdentity":{"$ref":"#/definitions/Models.EmailIdentity"},"status":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"errorMessage":{"type":"string"},"fromAddress":{"type":"string"},"fromName":{"type":"string"},"imageUrl":{"type":"string"},"replyAddress":{"type":"string"},"subject":{"type":"string"},"body":{"type":"string"},"isArchived":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"memberSelectorId":{"format":"uuid","type":"string"},"memberSelector":{"$ref":"#/definitions/Models.MemberSelector"},"attachments":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmailAttachment"}},"activities":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmailActivity"}},"memberLists":{"type":"array","items":{"$ref":"#/definitions/Models.MemberList"}},"tags":{"type":"array","items":{"$ref":"#/definitions/Models.Tag"}},"organisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}},"bulkEmailItems":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmailItem"}},"bulkEmailParts":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmailPart"}},"bulkEmailV2Attachments":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmailV2Attachment"}}}},"Models.JobPosting":{"required":["description"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"description":{"type":"string"},"position":{"pattern":"^[^<>]*$","type":"string"},"company":{"pattern":"^[^<>]*$","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"_FullName":{"type":"string"},"approvedByName":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"approvedById":{"format":"uuid","type":"string"},"publishedOn":{"format":"date-time","type":"string"},"validUntil":{"format":"date-time","type":"string"},"viewCount":{"format":"int32","type":"integer"},"jobPostingStatus":{"format":"int32","enum":[0,1,2,3,-1],"type":"integer"},"jobType":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"positionSlug":{"type":"string"},"country":{"type":"string"},"city":{"type":"string"},"applyToEmail":{"pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"workPlaceType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"jobLocation":{"type":"string"},"archivedReason":{"type":"string"},"archivedAt":{"format":"date-time","type":"string"},"archivedById":{"format":"uuid","type":"string"},"archivedByName":{"type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"organisation":{"$ref":"#/definitions/Models.Organisation"}}},"Models.OfferedService":{"required":["title","description","createdOn","lastModifiedOn","offeredServiceStatus"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"_FullName":{"type":"string"},"title":{"pattern":"^[^<>]*$","type":"string"},"description":{"type":"string"},"approvedById":{"format":"uuid","type":"string"},"approvedByName":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"publishedOn":{"format":"date-time","type":"string"},"offeredServiceStatus":{"format":"int32","enum":[0,1,2,-1],"type":"integer"},"viewCount":{"format":"int32","type":"integer"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"organisation":{"$ref":"#/definitions/Models.Organisation"}}},"Models.SupportTicketMessage":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"text":{"type":"string"},"supportTicketId":{"format":"uuid","type":"string"},"supportTicket":{"$ref":"#/definitions/Models.SupportTicket"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"fullName":{"type":"string","readOnly":true},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"type":{"format":"int32","enum":[0,1],"type":"integer"}}},"Models.OrganisationMembershipFile":{"required":["name"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"pattern":"^[^<>]*$","type":"string"},"description":{"pattern":"^[^<>]*$","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"attachments":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembershipAttachment"}}}},"Models.FamilyMember":{"required":["firstName","lastName"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"relationship":{"type":"string"},"firstName":{"pattern":"^[^<>]*$","type":"string"},"lastName":{"pattern":"^[^<>]*$","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"gender":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"birthDate":{"format":"date-time","type":"string"},"isOrganisationMembership":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Debt":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"debtType":{"format":"int32","enum":[0,1,2],"type":"integer"},"amount":{"format":"double","type":"number"},"year":{"format":"int32","type":"integer"},"month":{"format":"int32","type":"integer"},"description":{"type":"string"},"isManuelEntry":{"type":"boolean"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"customMemberTypeId":{"format":"uuid","type":"string"},"customMemberType":{"$ref":"#/definitions/Models.CustomMemberType"},"_CustomMemberTypeName":{"type":"string"},"customMembershipId":{"format":"uuid","type":"string"},"customMembership":{"$ref":"#/definitions/Models.CustomMembership"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"status":{"format":"int32","enum":[0,1,-1],"type":"integer"},"couponId":{"maxLength":200,"minLength":0,"type":"string"},"discountAmount":{"format":"double","type":"number"},"issuedOn":{"format":"date-time","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"payments":{"type":"array","items":{"$ref":"#/definitions/Models.Payment"}},"paymentTicketInvoices":{"type":"array","items":{"$ref":"#/definitions/Models.Models.PaymentTicketInvoice"}}}},"Models.EventV2Ticket":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"status":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"eventV2TicketButtonId":{"format":"uuid","type":"string"},"eventV2TicketButton":{"$ref":"#/definitions/Models.EventV2TicketButton"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"phoneCountryCode":{"type":"string"},"phoneNumber":{"type":"string"},"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"country":{"type":"string"},"paymentId":{"format":"uuid","type":"string"},"payment":{"$ref":"#/definitions/Models.Payment"},"isArchived":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.MemberSelector":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"description":{"type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"contactFilters":{"type":"string"},"segments":{"type":"array","items":{"$ref":"#/definitions/Models.Segment"}},"memberLists":{"type":"array","items":{"$ref":"#/definitions/Models.MemberList"}},"tags":{"type":"array","items":{"$ref":"#/definitions/Models.Tag"}},"organisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}},"smsBlasts":{"type":"array","items":{"$ref":"#/definitions/Models.SmsBlast"}},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isAnySelected":{"type":"boolean","readOnly":true}}},"Models.SmsBlastCategoryUnsubscribe":{"type":"object","properties":{"smsBlastCategoryId":{"format":"uuid","type":"string"},"smsBlastCategory":{"$ref":"#/definitions/Models.SmsBlastCategory"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"createdOn":{"format":"date-time","type":"string"}}},"Models.CreditCardToken":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"tokenData":{"type":"string"},"creditCardType":{"type":"string"},"cardNumber":{"type":"string"},"processorReferenceNumber":{"type":"string"},"processorUserKey":{"type":"string"},"creditCardProcessor":{"format":"int32","enum":[0,1,2,4,5,6],"type":"integer"},"organisationMembershipId":{"format":"uuid","type":"string"},"paymentAccountId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"}}},"Models.CreditCardSubscription":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"processorReferenceNumber":{"type":"string"},"processorUserKey":{"type":"string"},"amount":{"format":"double","type":"number"},"paymentType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"creditCardProcessor":{"format":"int32","enum":[0,1,2,4,5,6],"type":"integer"},"registerDate":{"format":"date-time","type":"string"},"totalPeriod":{"format":"int32","type":"integer"},"currentPeriod":{"format":"int32","type":"integer"},"currentPeriodPaymentDate":{"format":"date-time","type":"string"},"creditCardSubscriptionStatus":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"errorMessage":{"type":"string"},"chargeCreditCardSubscriptions":{"type":"array","items":{"$ref":"#/definitions/Models.ChargeCreditCardSubscription"}}}},"Models.ContactCategory":{"required":["name"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"organisationId":{"format":"uuid","type":"string"},"isSocialNetworkLoginEnabled":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"organisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}}}},"Models.DataExportLog":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"requestedByEmail":{"type":"string"},"countOfTotalRows":{"format":"int32","type":"integer"},"countOfProcessedRows":{"format":"int32","type":"integer"},"percentageOfJobProgress":{"format":"int32","type":"integer"},"exportFields":{"type":"string"},"exportFileUrl":{"type":"string"},"exportStartTime":{"type":"string"},"exportFinishTime":{"type":"string"},"exportElapsedTime":{"type":"string"},"errorMessages":{"type":"string"},"status":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.DataImportLog":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"requestedByEmail":{"type":"string"},"countOfTotalRows":{"format":"int32","type":"integer"},"countOfProcessedRows":{"format":"int32","type":"integer"},"percentageOfJobProgress":{"format":"int32","type":"integer"},"countOfRowsWithErrors":{"format":"int32","type":"integer"},"countOfRowsWithWarnings":{"format":"int32","type":"integer"},"importFields":{"type":"string"},"importFileUrl":{"type":"string"},"tagId":{"format":"uuid","type":"string"},"tag":{"$ref":"#/definitions/Models.Tag"},"importStartTime":{"type":"string"},"importFinishTime":{"type":"string"},"importElapsedTime":{"type":"string"},"errorMessages":{"type":"string"},"warningMessages":{"type":"string"},"status":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Models.SmsCreditPurchase":{"required":["id","amount","paymentMethod","organisationId","paymentDate","createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"amount":{"format":"double","type":"number"},"stripeInvoiceId":{"type":"string"},"isAutoReloadEnabled":{"type":"boolean"},"paymentMethod":{"format":"int32","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"paymentDate":{"format":"date-time","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"}}},"Models.Announcement":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"subject":{"pattern":"^[^<>]*$","type":"string"},"description":{"type":"string"},"summary":{"type":"string"},"imageUrl":{"type":"string"},"isDeleted":{"type":"boolean"},"slug":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"publishedOn":{"format":"date-time","type":"string"},"status":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"permissionType":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"attachments":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementAttachment"}},"comments":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementComment"}},"commentAttachments":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementCommentAttachment"}},"likes":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementLike"}},"subscribers":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementSubscriber"}},"customMemberTypes":{"type":"array","items":{"$ref":"#/definitions/Models.CustomMemberType"}},"categories":{"type":"array","items":{"$ref":"#/definitions/Models.Category"}},"links":{"type":"array","items":{"$ref":"#/definitions/Models.Link"}},"isDefault":{"type":"boolean"},"likeCount":{"format":"int32","type":"integer"},"commentCount":{"format":"int32","type":"integer"},"viewCount":{"format":"int32","type":"integer"},"approvedById":{"format":"uuid","type":"string"},"like":{"format":"int32","enum":[0,1,2],"type":"integer"},"comment":{"format":"int32","enum":[0,1,2],"type":"integer"},"share":{"format":"int32","enum":[0,1,2],"type":"integer"},"approvedBy":{"$ref":"#/definitions/Models.OrganisationMembership"},"slugUrl":{"type":"string","readOnly":true},"isPinned":{"type":"boolean"},"announcementType":{"format":"int32","enum":[0,1],"type":"integer"},"pollStatus":{"format":"int32","enum":[0,1],"type":"integer"},"pollClosesOn":{"format":"date-time","type":"string"},"pollSelectionMode":{"format":"int32","enum":[0,1],"type":"integer"},"pollResultsVisibility":{"format":"int32","enum":[0,1,2],"type":"integer"},"pollVoteVisibility":{"format":"int32","enum":[0,1],"type":"integer"},"pollMaxSelections":{"format":"int32","type":"integer"},"pollOptions":{"type":"array","items":{"$ref":"#/definitions/Models.PollOption"}},"pollVotes":{"type":"array","items":{"$ref":"#/definitions/Models.PollVote"}}}},"Models.CategorySubscriber":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"categoryId":{"format":"uuid","type":"string"},"category":{"$ref":"#/definitions/Models.Category"},"notificationPeriod":{"format":"int32","enum":[0,1,2,3],"type":"integer"}}},"Models.AnnouncementSubscriber":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"announcementId":{"format":"uuid","type":"string"},"announcement":{"$ref":"#/definitions/Models.Announcement"},"createdOn":{"format":"date-time","type":"string"}}},"Models.AnnouncementComment":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"announcementId":{"format":"uuid","type":"string"},"announcement":{"$ref":"#/definitions/Models.Announcement"},"status":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"text":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"publishedOn":{"format":"date-time","type":"string"},"approvedById":{"format":"uuid","type":"string"},"approvedBy":{"$ref":"#/definitions/Models.OrganisationMembership"},"parentId":{"format":"uuid","type":"string"},"parent":{"$ref":"#/definitions/Models.AnnouncementComment"},"likeCount":{"format":"int32","type":"integer"},"attachments":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementCommentAttachment"}},"likes":{"type":"array","items":{"$ref":"#/definitions/Models.AnnouncementCommentLike"}}}},"Models.AnnouncementLike":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"announcementId":{"format":"uuid","type":"string"},"announcement":{"$ref":"#/definitions/Models.Announcement"},"createdOn":{"format":"date-time","type":"string"}}},"Models.AnnouncementCommentLike":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"announcementCommentId":{"format":"uuid","type":"string"},"announcementComment":{"$ref":"#/definitions/Models.AnnouncementComment"},"createdOn":{"format":"date-time","type":"string"}}},"Models.AnnouncementCommentAttachment":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"fileName":{"type":"string"},"size":{"format":"int32","type":"integer"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"announcementId":{"format":"uuid","type":"string"},"announcement":{"$ref":"#/definitions/Models.Announcement"},"announcementCommentId":{"format":"uuid","type":"string"},"announcementComment":{"$ref":"#/definitions/Models.AnnouncementComment"},"createdOn":{"format":"date-time","type":"string"}}},"Models.Group":{"required":["organisationId","name","emailAddress","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"name":{"pattern":"^[^<>]*$","type":"string"},"shortName":{"pattern":"^[^<>]*$","type":"string"},"emailAddress":{"pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"description":{"pattern":"^[^<>]*$","type":"string"},"isPostNewMessageEnabled":{"type":"boolean"},"isReplyEnabled":{"type":"boolean"},"isMemberListVisible":{"type":"boolean"},"groupVisibilityType":{"format":"int32","enum":[0,1],"type":"integer"},"groupRegistrationType":{"format":"int32","enum":[0,1,2],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"groupCategories":{"type":"array","items":{"$ref":"#/definitions/Models.GroupCategory"}},"groupMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.GroupMembership"}},"posts":{"type":"array","items":{"$ref":"#/definitions/Models.Post"}}}},"Models.GroupCategory":{"required":["name","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"pattern":"^[^<>]*$","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"groups":{"type":"array","items":{"$ref":"#/definitions/Models.Group"}}}},"Models.EmailIdentity":{"required":["name","fromName","emailAddress","replyAddress","mailProvider","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"isDefault":{"type":"boolean"},"isDeleted":{"type":"boolean"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"fromName":{"type":"string"},"emailAddress":{"pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"replyAddress":{"pattern":"(?:[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+(?:\\.[a-zA-Z0-9\\p{L}\\p{M}!#$%&'*+/=?^_`{|}~-]+)*|\"(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21\\x23-\\x5b\\x5d-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])*\")@(?:(?:[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?\\.)+[a-zA-Z0-9\\p{L}\\p{M}](?:[a-zA-Z0-9\\p{L}\\p{M}-]*[a-zA-Z0-9\\p{L}\\p{M}])?|\\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-zA-Z0-9-]*[a-z0-9]:(?:[\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x21-\\x5a\\x53-\\x7f]|\\\\[\\x01-\\x09\\x0b\\x0c\\x0e-\\x7f])+)\\])","type":"string"},"mailProvider":{"format":"int32","enum":[0,1],"type":"integer"},"serverAddress":{"type":"string"},"username":{"type":"string"},"password":{"type":"string"},"details":{"type":"string"},"county":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"state":{"type":"string"},"website":{"type":"string"},"contactTelephone":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isVerified":{"type":"boolean"},"bulkEmails":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmail"}},"mails":{"type":"array","items":{"$ref":"#/definitions/Models.Mail"}},"unsubscribes":{"type":"array","items":{"$ref":"#/definitions/Models.Unsubscribe"}}}},"Models.SmsIdentity":{"required":["name","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"isDefault":{"type":"boolean"},"isDeleted":{"type":"boolean"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"smsProvider":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"smsSenderName":{"type":"string"},"smsUsername":{"type":"string"},"smsPassword":{"type":"string"},"smsFromNumber":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"bulkSmses":{"type":"array","items":{"$ref":"#/definitions/Models.BulkSms"}},"smses":{"type":"array","items":{"$ref":"#/definitions/Models.Sms"}}}},"Models.BulkSms":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"text":{"type":"string"},"smsIdentityId":{"format":"uuid","type":"string"},"smsIdentity":{"$ref":"#/definitions/Models.SmsIdentity"},"status":{"format":"int32","enum":[0,1,2,3,4,5,6,7,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"errorMessage":{"type":"string"},"isArchived":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"activities":{"type":"array","items":{"$ref":"#/definitions/Models.BulkSmsActivity"}},"memberLists":{"type":"array","items":{"$ref":"#/definitions/Models.MemberList"}},"bulkSmsItems":{"type":"array","items":{"$ref":"#/definitions/Models.BulkSmsItem"}},"tags":{"type":"array","items":{"$ref":"#/definitions/Models.Tag"}},"organisationMemberships":{"type":"array","items":{"$ref":"#/definitions/Models.OrganisationMembership"}}}},"Models.DonationCampaign":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"name":{"pattern":"^[^<>]*$","type":"string"},"description":{"type":"string"},"shortDescription":{"pattern":"^[^<>]*$","type":"string"},"thumbnailUrl":{"type":"string"},"imageUrl":{"type":"string"},"imageThumbnailUrl":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"goal":{"format":"double","type":"number"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"publishedOn":{"format":"date-time","type":"string"},"status":{"format":"int32","enum":[0,1,2],"type":"integer"},"isDeleted":{"type":"boolean","readOnly":true},"isCustomPaymentEnabled":{"type":"boolean"},"paymentAccountId":{"format":"uuid","type":"string"},"payments":{"type":"array","items":{"$ref":"#/definitions/Models.Payment"}},"paymentTickets":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentTicket"}},"donationCampaignPaymentButtons":{"type":"array","items":{"$ref":"#/definitions/Models.DonationCampaignPaymentButton"}},"publicDonations":{"type":"array","items":{"$ref":"#/definitions/Models.PublicDonation"}}}},"Models.MemberList":{"required":["id","name","organisationId","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"pattern":"^[^<>]*$","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"},"memberListFilters":{"type":"array","items":{"$ref":"#/definitions/Models.MemberListFilter"}},"bulkEmails":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmail"}},"bulkSmses":{"type":"array","items":{"$ref":"#/definitions/Models.BulkSms"}},"memberSelectors":{"type":"array","items":{"$ref":"#/definitions/Models.MemberSelector"}}}},"Models.Event":{"required":["organisationId","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"name":{"pattern":"^[^<>]*$","type":"string"},"shortDescription":{"pattern":"^[^<>]*$","type":"string"},"imageUrl":{"type":"string"},"imageThumbnailUrl":{"type":"string"},"description":{"type":"string"},"location":{"pattern":"^[^<>]*$","type":"string"},"eventDate":{"format":"date-time","type":"string"},"eventTime":{"pattern":"^[^<>]*$","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"welcomeScreenIsActive":{"type":"boolean"},"welcomeScreenPin":{"type":"string"},"eventStatus":{"format":"int32","enum":[0,1,-1],"type":"integer"},"checkIns":{"type":"array","items":{"$ref":"#/definitions/Models.CheckIn"}},"rsvps":{"type":"array","items":{"$ref":"#/definitions/Models.EventRsvp"}},"eventSmsTemplates":{"type":"array","items":{"$ref":"#/definitions/Models.EventSmsTemplate"}}}},"Models.Conversation":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"conversationMembers":{"type":"array","items":{"$ref":"#/definitions/Models.ConversationMember"}},"conversationMessages":{"type":"array","items":{"$ref":"#/definitions/Models.ConversationMessage"}},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Invoice":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"invoiceDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"invoiceNumber":{"type":"string"},"invoiceAddress":{"type":"string"},"invoiceLineItems":{"type":"array","items":{"$ref":"#/definitions/Models.Models.InvoiceLineItem"}}}},"Models.CustomPaymentButton":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"description":{"type":"string"},"amount":{"format":"double","type":"number"},"paymentMethod":{"format":"int32","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"paymentMode":{"format":"int32","enum":[0,1,2],"type":"integer"},"paymentPeriod":{"format":"int32","enum":[0],"type":"integer"},"installmentNumber":{"format":"int32","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.MailTemplate":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"type":{"format":"int32","enum":[0,1],"type":"integer"},"subject":{"type":"string"},"body":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.CustomMemberType":{"required":["name"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"paymentAccountId":{"format":"uuid","type":"string"},"calculatedPaymentAccountId":{"format":"uuid","type":"string","readOnly":true},"organisationId":{"format":"uuid","type":"string"},"name":{"pattern":"^[^<>]*$","type":"string"},"description":{"pattern":"^[^<>]*$","type":"string"},"membershipFee":{"format":"double","type":"number"},"membershipFeeInterval":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"isRenewing":{"type":"boolean","readOnly":true},"canPublicApply":{"type":"boolean"},"canSocialNetworkApply":{"type":"boolean"},"gracePeriod":{"format":"int32","maximum":2147483647,"minimum":0,"type":"integer"},"isMembershipAutomationEnabled":{"type":"boolean"},"updateOrganisationMembershipStatus":{"type":"boolean"},"removeDebtAfterCancellation":{"type":"boolean"},"paymentFailAction":{"format":"int32","enum":[0,1],"type":"integer"},"hasSpecificStartDate":{"type":"boolean"},"monthOfStartDate":{"format":"int32","type":"integer"},"dayOfStartDate":{"format":"int32","type":"integer"},"renewalInterval":{"format":"int32","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"},"reminder10DayBeforeTemplateId":{"format":"uuid","type":"string"},"reminder5DayBeforeTemplateId":{"format":"uuid","type":"string"},"reminderSameDayTemplateId":{"format":"uuid","type":"string"},"pastDueNotice10DayAfterTemplateId":{"format":"uuid","type":"string"},"pastDueNotice5DayAfterTemplateId":{"format":"uuid","type":"string"},"reminder60DayBeforeTemplateId":{"format":"uuid","type":"string"},"reminder30DayBeforeTemplateId":{"format":"uuid","type":"string"},"pastDueNotice30DayAfterTemplateId":{"format":"uuid","type":"string"},"pastDueNotice60DayAfterTemplateId":{"format":"uuid","type":"string"},"updateCardUnsuccessfulPaymentTemplateId":{"format":"uuid","type":"string"},"receiptSuccessPaymentTemplateId":{"format":"uuid","type":"string"},"reminder60DayBeforeEnabled":{"type":"boolean"},"reminder30DayBeforeEnabled":{"type":"boolean"},"reminder10DayBeforeEnabled":{"type":"boolean"},"reminder5DayBeforeEnabled":{"type":"boolean"},"reminderSameDayEnabled":{"type":"boolean"},"pastDueNotice5DayAfterEnabled":{"type":"boolean"},"pastDueNotice10DayAfterEnabled":{"type":"boolean"},"pastDueNotice30DayAfterEnabled":{"type":"boolean"},"pastDueNotice60DayAfterEnabled":{"type":"boolean"},"renewalReminderActiveNoInvoiceNoRecurringTemplateId":{"format":"uuid","type":"string"},"renewalReminderActiveNoInvoiceHasRecurringTemplateId":{"format":"uuid","type":"string"},"renewalReminderPastdueHasInvoiceHasRecurringTemplateId":{"format":"uuid","type":"string"},"renewalReminderPastdueHasInvoiceNoRecurringTemplateId":{"format":"uuid","type":"string"},"renewalReminderScheduledNotStartedTemplateId":{"format":"uuid","type":"string"},"endDateReminderEnabled":{"type":"boolean"},"endDateReminder1Days":{"format":"int32","type":"integer"},"endDateReminder1TemplateId":{"format":"uuid","type":"string"},"endDateReminder2Days":{"format":"int32","type":"integer"},"endDateReminder2TemplateId":{"format":"uuid","type":"string"},"endDateReminder3Days":{"format":"int32","type":"integer"},"endDateReminder3TemplateId":{"format":"uuid","type":"string"},"allowMultipleSubscription":{"type":"boolean"},"backgroundColor":{"maxLength":30,"minLength":0,"type":"string"},"textColor":{"maxLength":30,"minLength":0,"type":"string"},"colorsInheritedFromDigitalCardSettings":{"type":"boolean"},"customMembershipCount":{"format":"int32","type":"integer"},"signupFormEnabled":{"type":"boolean"},"signupFormAutoApproval":{"type":"boolean"},"signupFormFields":{"type":"string"},"signupFormFieldList":{"type":"array","items":{"$ref":"#/definitions/Models.JsonTypes.CustomAttributes.SignUpFormFieldObject"}},"groupMembershipEnabled":{"type":"boolean"},"groupMembershipPriceType":{"format":"int32","enum":[1,2],"type":"integer"},"maxGroupMemberCount":{"format":"int32","type":"integer"},"groupMembershipPlanIds":{"type":"object","additionalProperties":{"type":"boolean"}},"groupMembershipFormFields":{"type":"string"},"groupMembershipFormFieldList":{"type":"array","items":{"$ref":"#/definitions/Models.JsonTypes.CustomAttributes.SignUpFormFieldObject"}},"freePeriodInDays":{"format":"int32","type":"integer"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"}}},"Models.SocialNetwork":{"required":["name","url","socialNetworkType","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"pattern":"^[^<>]*$","type":"string"},"description":{"pattern":"^[^<>]*$","type":"string"},"url":{"pattern":"^[^<>]*$","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"socialNetworkType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.AnnualMembershipFee":{"required":["year","amount","inscriptionFee","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"customMemberTypeId":{"format":"uuid","type":"string"},"customMemberType":{"$ref":"#/definitions/Models.CustomMemberType"},"year":{"format":"int32","type":"integer"},"amount":{"format":"double","type":"number"},"inscriptionFee":{"format":"double","type":"number"},"description":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.EventV2":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"title":{"type":"string"},"shortDescription":{"type":"string"},"description":{"type":"string"},"venueName":{"type":"string"},"address":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zip":{"pattern":"^[^<>]*$","type":"string"},"country":{"type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"imageUrl":{"type":"string"},"thumbnailUrl":{"type":"string"},"lng":{"type":"string"},"lat":{"type":"string"},"facebookLink":{"type":"string"},"isPublic":{"type":"boolean"},"isInviteOnly":{"type":"boolean"},"memberSelectorId":{"format":"uuid","type":"string"},"memberSelector":{"$ref":"#/definitions/Models.MemberSelector"},"ticketButtons":{"type":"array","items":{"$ref":"#/definitions/Models.EventV2TicketButton"}},"eventStatus":{"format":"int32","enum":[0,1,-1],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.AdminReportReceiver":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"emailAddress":{"type":"string"},"lastLoggedOn":{"format":"date-time","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.ImportJob":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"importJobType":{"format":"int32","enum":[0,1],"type":"integer"}}},"Models.StaticPage":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"title":{"type":"string"},"html":{"type":"string"},"order":{"format":"int32","type":"integer"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"}}},"Models.PaymentAccount":{"required":["name"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"status":{"type":"string"},"creditCardProcessor":{"format":"int32","enum":[0,1,2,4,5,6],"type":"integer"},"subMerchantId":{"type":"string"},"caracolesSubMerchantId":{"type":"string"},"name":{"type":"string"},"data":{"type":"string"}}},"Models.PublicDonation":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"donationCampaignId":{"format":"uuid","type":"string"},"donationCampaign":{"$ref":"#/definitions/Models.DonationCampaign"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"title":{"type":"string"},"description":{"type":"string"},"photoUrl":{"type":"string"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"isRecurringPaymentsEnabled":{"type":"boolean"},"isCustomAmountEnabled":{"type":"boolean"},"isAnonymousPaymentEnabled":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"paymentAccountId":{"format":"uuid","type":"string"},"payments":{"type":"array","items":{"$ref":"#/definitions/Models.Payment"}},"publicDonationPaymentOptions":{"type":"array","items":{"$ref":"#/definitions/PublicDonationPaymentOption"}},"paymentTicket":{"type":"array","items":{"$ref":"#/definitions/Models.PaymentTicket"}},"isDeleted":{"type":"boolean"},"isPublished":{"type":"boolean"}}},"Models.Models.OrganisationRakletApp":{"required":["id","organisationId","rakletAppId","createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"rakletAppId":{"format":"uuid","type":"string"},"otherDescription":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"isActivated":{"type":"boolean"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"rakletApp":{"$ref":"#/definitions/Models.Models.RakletApp"}}},"Models.SmsSetting":{"required":["id","smsDiscountGlobal","smsDiscountTurkey","organisationId","createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"smsDiscountGlobal":{"format":"double","type":"number"},"smsDiscountTurkey":{"format":"double","type":"number"},"smsCreditCardTokenId":{"type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"}}},"Models.Models.SmsBalance":{"required":["id","currentBalance","organisationId","createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"previousBalance":{"format":"double","type":"number"},"currentBalance":{"format":"double","type":"number"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"lastChargeSmsId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"}}},"Models.Category":{"required":["slug","createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"description":{"type":"string"},"imageUrl":{"type":"string"},"slug":{"type":"string"},"accessType":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"postCreatePermission":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"postApprovalRequired":{"type":"boolean"},"postCommentCreatePermission":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"postCommentApprovalRequired":{"type":"boolean"},"visibility":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"isDefault":{"type":"boolean"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"announcements":{"type":"array","items":{"$ref":"#/definitions/Models.Announcement"}},"customMemberTypes":{"type":"array","items":{"$ref":"#/definitions/Models.CustomMemberType"}},"subscribers":{"type":"array","items":{"$ref":"#/definitions/Models.CategorySubscriber"}},"categoryMembers":{"type":"array","items":{"$ref":"#/definitions/Models.CategoryMember"}},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"},"tagId":{"format":"uuid","type":"string"},"postLike":{"format":"int32","enum":[0,1],"type":"integer"},"postComment":{"format":"int32","enum":[0,1],"type":"integer"},"postShare":{"format":"int32","enum":[0,1],"type":"integer"},"layout":{"format":"int32","enum":[0,1],"type":"integer"},"columns":{"format":"int32","enum":[1,2,3],"type":"integer"},"isVisibleOnTheFeed":{"type":"boolean"},"isAutoSubscribeMembers":{"type":"boolean"},"isShowSubscribersOnBoardPage":{"type":"boolean"}}},"Models.Models.WorkSector":{"required":["sectorName","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"sectorName":{"type":"string"},"workId":{"format":"uuid","type":"string"},"work":{"$ref":"#/definitions/Models.Work"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"sectorSlug":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.Post":{"required":["title","body","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"groupId":{"format":"uuid","type":"string"},"group":{"$ref":"#/definitions/Models.Group"},"title":{"type":"string"},"body":{"type":"string"},"parentId":{"format":"uuid","type":"string"},"parent":{"$ref":"#/definitions/Models.Post"},"_FullName":{"type":"string"},"groupMembershipId":{"format":"uuid","type":"string"},"groupMembership":{"$ref":"#/definitions/Models.GroupMembership"},"childPosts":{"type":"array","items":{"$ref":"#/definitions/Models.Post"}},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"fullName":{"type":"string","readOnly":true},"getPictureUrl":{"type":"string","readOnly":true}}},"Models.PaymentNotification":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"body":{"type":"string"},"isVerified":{"type":"boolean"},"source":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"status":{"format":"int32","enum":[0,1,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2],"type":"integer"},"paymentId":{"format":"uuid","type":"string"},"payment":{"$ref":"#/definitions/Models.Payment"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.PaymentRefund":{"required":["connectedAccountId","idempotencyKey"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"paymentId":{"format":"uuid","type":"string"},"payment":{"$ref":"#/definitions/Models.Payment"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"amount":{"format":"double","type":"number"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"status":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"stripeRefundId":{"type":"string"},"stripeChargeId":{"type":"string"},"stripePaymentIntentId":{"type":"string"},"stripeBalanceTransactionId":{"type":"string"},"connectedAccountId":{"type":"string"},"requestedByRakletId":{"format":"uuid","type":"string"},"requestedOn":{"format":"date-time","type":"string"},"processedOn":{"format":"date-time","type":"string"},"idempotencyKey":{"type":"string"},"reason":{"type":"string"},"failureReason":{"type":"string"},"metadataJson":{"type":"string"},"note":{"type":"string"}}},"Models.BulkSmsItem":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"status":{"format":"int32","enum":[0,1,2,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4,5,6,7],"type":"integer"},"errorMessage":{"type":"string"},"bulkSmsId":{"format":"uuid","type":"string"},"bulkSms":{"$ref":"#/definitions/Models.BulkSms"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"smsId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"fullName":{"type":"string","readOnly":true},"phoneNumber":{"type":"string"}}},"Models.Models.PaymentTicketInvoice":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"paymentTicketId":{"format":"uuid","type":"string"},"paymentTicket":{"$ref":"#/definitions/Models.PaymentTicket"},"invoiceId":{"format":"uuid","type":"string"},"invoice":{"$ref":"#/definitions/Models.Debt"},"amount":{"format":"double","type":"number"}}},"Models.MemberListFilter":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"memberListId":{"format":"uuid","type":"string"},"memberList":{"$ref":"#/definitions/Models.MemberList"},"type":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,-32,-31,-26,-24,-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,-3,-2,-1],"type":"integer"},"objectId":{"format":"uuid","type":"string"},"value":{"type":"string"},"tags":{"type":"array","items":{"$ref":"#/definitions/Models.Tag"}}}},"Models.BulkEmailAttachment":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"fileName":{"type":"string"},"size":{"format":"int32","type":"integer"},"bulkEmailId":{"format":"uuid","type":"string"},"bulkEmail":{"$ref":"#/definitions/Models.BulkEmail"},"bulkEmailTemplateAttachmentId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"}}},"Models.BulkEmailActivity":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"bulkEmailId":{"format":"uuid","type":"string"},"bulkEmail":{"$ref":"#/definitions/Models.BulkEmail"},"type":{"format":"int32","enum":[0,1,2,3,4,5,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"errorMessage":{"type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"fullName":{"type":"string"},"emailAddress":{"type":"string"},"mailId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"}}},"Models.BulkEmailItem":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"status":{"format":"int32","enum":[0,1,2,3,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4,5,6,99,100,101,102],"type":"integer"},"errorMessage":{"type":"string"},"bulkEmailId":{"format":"uuid","type":"string"},"bulkEmail":{"$ref":"#/definitions/Models.BulkEmail"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"emailAddress":{"type":"string"},"mailId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"fullName":{"type":"string","readOnly":true},"bulkEmailItemActivities":{"type":"array","items":{"$ref":"#/definitions/Models.BulkEmailItemActivity"}}}},"Models.BulkEmailPart":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"type":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"content":{"type":"string"},"orderNumber":{"format":"int32","type":"integer"},"bulkEmailId":{"format":"uuid","type":"string"},"bulkEmail":{"$ref":"#/definitions/Models.BulkEmail"},"bulkEmailV2AttachmentId":{"format":"uuid","type":"string"},"bulkEmailV2Attachment":{"$ref":"#/definitions/Models.BulkEmailV2Attachment"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isEditable":{"type":"boolean","readOnly":true},"isContentEmpty":{"type":"boolean","readOnly":true}}},"Models.BulkEmailV2Attachment":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"fileName":{"type":"string"},"size":{"format":"int32","type":"integer"},"bulkEmailId":{"format":"uuid","type":"string"},"bulkEmail":{"$ref":"#/definitions/Models.BulkEmail"},"bulkEmailTemplateAttachmentId":{"format":"uuid","type":"string"},"url":{"type":"string"},"storageUrl":{"type":"string"},"bulkEmailPartId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"}}},"Models.SupportTicket":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"_FullName":{"type":"string"},"subject":{"type":"string"},"supportTicketStatus":{"format":"int32","enum":[0,-1],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"closedOn":{"format":"date-time","type":"string"},"closedById":{"format":"uuid","type":"string"},"closedBy":{"$ref":"#/definitions/Models.OrganisationMembership"},"_ClosedByName":{"type":"string"},"supportTicketMessages":{"type":"array","items":{"$ref":"#/definitions/Models.SupportTicketMessage"}}}},"Models.OrganisationMembershipAttachment":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"fileName":{"type":"string"},"size":{"format":"int32","type":"integer"},"organisationMembershipFileId":{"format":"uuid","type":"string"},"organisationMembershipFile":{"$ref":"#/definitions/Models.OrganisationMembershipFile"},"createdOn":{"format":"date-time","type":"string"}}},"Models.EventV2TicketButton":{"required":["createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"eventV2Id":{"format":"uuid","type":"string"},"eventV2":{"$ref":"#/definitions/Models.EventV2"},"name":{"type":"string"},"description":{"type":"string"},"type":{"format":"int32","enum":[0,1,2],"type":"integer"},"quantity":{"format":"int32","type":"integer"},"price":{"format":"double","type":"number"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"allowPerOrderMax":{"format":"int32","type":"integer"},"availability":{"format":"int32","enum":[0,1,2],"type":"integer"},"customMemberTypeId":{"format":"uuid","type":"string"},"customMemberType":{"$ref":"#/definitions/Models.CustomMemberType"},"isArchived":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.SmsBlast":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"fromName":{"type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"memberSelectorId":{"format":"uuid","type":"string"},"memberSelector":{"$ref":"#/definitions/Models.MemberSelector"},"smsBlastCategoryId":{"format":"uuid","type":"string"},"smsBlastCategory":{"$ref":"#/definitions/Models.SmsBlastCategory"},"smsBlastStatus":{"format":"int32","enum":[0,1,2,3,4,5,6,7,-1],"type":"integer"},"text":{"type":"string"},"createdById":{"format":"uuid","type":"string"},"createdByFullName":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isArchived":{"type":"boolean"},"smsIdentityId":{"format":"uuid","type":"string"},"smsIdentity":{"$ref":"#/definitions/Models.SmsIdentity"}}},"Models.SmsBlastCategory":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"organisation":{"$ref":"#/definitions/Models.Organisation"},"name":{"type":"string"},"isArchived":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"smsBlastCategoryUnsubscribes":{"type":"array","items":{"$ref":"#/definitions/Models.SmsBlastCategoryUnsubscribe"}}}},"Models.ChargeCreditCardSubscription":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"chargingPeriod":{"format":"int32","type":"integer"},"creditCardSubscriptionId":{"format":"uuid","type":"string"},"creditCardSubscription":{"$ref":"#/definitions/Models.CreditCardSubscription"},"paymentId":{"format":"uuid","type":"string"},"payment":{"$ref":"#/definitions/Models.Payment"},"chargingStatus":{"format":"int32","enum":[0,1,2],"type":"integer"},"errorMessage":{"type":"string"}}},"Models.AnnouncementAttachment":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"fileName":{"type":"string"},"title":{"type":"string"},"size":{"format":"int32","type":"integer"},"announcementId":{"format":"uuid","type":"string"},"announcement":{"$ref":"#/definitions/Models.Announcement"},"createdOn":{"format":"date-time","type":"string"}}},"Models.Link":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"url":{"type":"string"},"siteName":{"type":"string"},"description":{"type":"string"},"title":{"type":"string"},"imageUrl":{"type":"string"},"announcements":{"type":"array","items":{"$ref":"#/definitions/Models.Announcement"}}}},"Models.PollOption":{"required":["text","createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"announcementId":{"format":"uuid","type":"string"},"announcement":{"$ref":"#/definitions/Models.Announcement"},"text":{"type":"string"},"displayOrder":{"format":"int32","type":"integer"},"createdOn":{"format":"date-time","type":"string"},"votes":{"type":"array","items":{"$ref":"#/definitions/Models.PollVote"}}}},"Models.PollVote":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"announcementId":{"format":"uuid","type":"string"},"announcement":{"$ref":"#/definitions/Models.Announcement"},"pollOptionId":{"format":"uuid","type":"string"},"pollOption":{"$ref":"#/definitions/Models.PollOption"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"createdOn":{"format":"date-time","type":"string"}}},"Models.BulkSmsActivity":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"bulkSmsId":{"format":"uuid","type":"string"},"bulkSms":{"$ref":"#/definitions/Models.BulkSms"},"type":{"format":"int32","enum":[0,1,2,3,4,-1],"type":"integer"},"errorType":{"format":"int32","enum":[0,1,2,3,4],"type":"integer"},"errorMessage":{"type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"fullName":{"type":"string"},"phoneNumber":{"type":"string"},"smsId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"}}},"Models.DonationCampaignPaymentButton":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"donationCampaignId":{"format":"uuid","type":"string"},"donationCampaign":{"$ref":"#/definitions/Models.DonationCampaign"},"description":{"type":"string"},"amount":{"format":"double","type":"number"},"paymentMethod":{"format":"int32","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"paymentMode":{"format":"int32","enum":[0,1,2],"type":"integer"},"paymentPeriod":{"format":"int32","enum":[0],"type":"integer"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.EventRsvp":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"eventId":{"format":"uuid","type":"string"},"event":{"$ref":"#/definitions/Models.Event"},"organisationMembershipId":{"format":"uuid","type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"_FullName":{"type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"rsvpType":{"format":"int32","enum":[0,1,2,-1],"type":"integer"}}},"Models.EventSmsTemplate":{"required":["name","text"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"eventId":{"format":"uuid","type":"string"},"event":{"$ref":"#/definitions/Models.Event"},"name":{"pattern":"^[^<>]*$","type":"string"},"text":{"pattern":"^[^<>]*$","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isWelcomeMessage":{"type":"boolean"}}},"Models.ConversationMessage":{"required":["text","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"text":{"type":"string"},"conversationId":{"format":"uuid","type":"string"},"conversation":{"$ref":"#/definitions/Models.Conversation"},"organisationMembershipId":{"format":"uuid","type":"string"},"_FullName":{"type":"string"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"},"mailId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"fullName":{"type":"string","readOnly":true}}},"Models.Models.InvoiceLineItem":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"invoiceId":{"format":"uuid","type":"string"},"invoice":{"$ref":"#/definitions/Models.Invoice"},"description":{"type":"string"},"quantity":{"format":"int32","type":"integer"},"unitAmount":{"format":"double","type":"number"},"discountRate":{"format":"double","type":"number"},"rakletPackage":{"format":"int32","enum":[0,1,2,99],"type":"integer"}}},"Models.JsonTypes.CustomAttributes.SignUpFormFieldObject":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"isRequired":{"type":"boolean"},"isIncluded":{"type":"boolean"},"isDeleted":{"type":"boolean"}}},"PublicDonationPaymentOption":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"organisationId":{"format":"uuid","type":"string"},"publicDonationId":{"format":"uuid","type":"string"},"publicDonation":{"$ref":"#/definitions/Models.PublicDonation"},"amount":{"format":"double","type":"number"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"},"isDeleted":{"type":"boolean"}}},"Models.Models.RakletApp":{"required":["id","name","keyName","createdOn","lastModifiedOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"description":{"type":"string"},"keyName":{"type":"string"},"type":{"format":"int32","enum":[0,1,2],"type":"integer"},"isDeleted":{"type":"boolean"},"createdOn":{"format":"date-time","type":"string"},"lastModifiedOn":{"format":"date-time","type":"string"}}},"Models.CategoryMember":{"required":["categoryId","organisationMembershipId"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"categoryId":{"format":"uuid","type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"createdOn":{"format":"date-time","type":"string"},"createdBy":{"format":"uuid","type":"string"},"category":{"$ref":"#/definitions/Models.Category"},"organisationMembership":{"$ref":"#/definitions/Models.OrganisationMembership"}}},"Models.BulkEmailItemActivity":{"required":["createdOn"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"type":{"format":"int32","enum":[0,1],"type":"integer"},"bulkEmailItemId":{"format":"uuid","type":"string"},"bulkEmailItem":{"$ref":"#/definitions/Models.BulkEmailItem"},"bulkEmailAttachmentId":{"format":"uuid","type":"string"},"bulkEmailAttachment":{"$ref":"#/definitions/Models.BulkEmailAttachment"},"createdOn":{"format":"date-time","type":"string"}}},"Raklet.Api.Controllers.App.Events.CreditCardChargeTicketResponseDto":{"type":"object","properties":{}},"Models.Dtos.JobPosting.JobPostingDto":{"required":["description"],"type":"object","properties":{"description":{"type":"string"},"position":{"pattern":"^[^<>]*$","type":"string"},"company":{"pattern":"^[^<>]*$","type":"string"},"jobPostingStatus":{"format":"int32","enum":[0,1,2,3,-1],"type":"integer"},"fullName":{"pattern":"^[^<>]*$","type":"string"},"publishedOn":{"format":"date-time","type":"string"},"viewCount":{"format":"int32","type":"integer"},"jobType":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"workPlaceType":{"format":"int32","enum":[0,1,2,3],"type":"integer"},"validUntil":{"format":"date-time","type":"string"},"country":{"type":"string"},"city":{"type":"string"},"slug":{"type":"string"},"id":{"format":"uuid","type":"string"}}},"Raklet.Api.Controllers.App.Jobs.JobSeekersController+JobSeekerDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The contact's organisation membership id.","type":"string"},"firstName":{"description":"The contact's first name.","type":"string"},"lastName":{"description":"The contact's last name.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo. Empty when they have none.","type":"string"},"title":{"description":"The contact's current job title.","type":"string"},"type":{"format":"int32","description":"Whether the contact is an individual, a corporate member or a sub-member.","enum":[0,1,2,3,4,5,6],"type":"integer"},"jobDescription":{"description":"What the contact says they are looking for.","type":"string"},"jobType":{"format":"int32","description":"Employment type sought, as listed by GET /common/jobTypes.","enum":[0,1,2,3,4,5,6,7,8],"type":"integer"},"fullName":{"description":"First and last name joined for display.","type":"string"}}},"Models.Commands.MemberEventSubmissionCommand":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"shortDescription":{"type":"string"},"startDateTimeUtc":{"format":"date-time","type":"string"},"endDateTimeUtc":{"format":"date-time","type":"string"},"timeZone":{"type":"string"},"address":{"type":"string"},"county":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"isOnlineEvent":{"type":"boolean"},"url":{"type":"string"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"availableTicketCount":{"format":"int32","type":"integer"},"isPublic":{"type":"boolean"},"coverImageUrl":{"type":"string"},"coverThumbnailUrl":{"type":"string"},"categoryIds":{"type":"array","items":{"format":"uuid","type":"string"}},"ticketOptions":{"type":"array","items":{"$ref":"#/definitions/Models.CosmosDb.Event.EventTicketOptions"}}}},"Models.CosmosDb.Event.EventTicketOptions":{"required":["id","name"],"type":"object","properties":{"id":{"format":"uuid","type":"string"},"name":{"type":"string"},"description":{"type":"string"},"salesEndDate":{"format":"int32","type":"integer"},"price":{"format":"double","type":"number"},"maxQuantity":{"format":"int32","type":"integer"},"orderCount":{"format":"int32","type":"integer"},"minPrice":{"format":"double","type":"number"},"plans":{"type":"object","additionalProperties":{"type":"boolean"}},"accessType":{"format":"int32","enum":[0,1,2],"type":"integer"},"ticketType":{"format":"int32","enum":[0,1,2],"type":"integer"},"availableTicketCount":{"format":"int32","type":"integer"},"soldTicketCount":{"format":"int32","type":"integer"},"isHidden":{"type":"boolean"},"isArchive":{"type":"boolean"},"createdOn":{"format":"int32","type":"integer"}}},"Models.Commands.MemberEventEditCommand":{"type":"object","properties":{"name":{"type":"string"},"description":{"type":"string"},"shortDescription":{"type":"string"},"startDateTimeUtc":{"format":"date-time","type":"string"},"endDateTimeUtc":{"format":"date-time","type":"string"},"timeZone":{"type":"string"},"address":{"type":"string"},"county":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"isOnlineEvent":{"type":"boolean"},"url":{"type":"string"},"availableTicketCount":{"format":"int32","type":"integer"},"coverImageUrl":{"type":"string"},"action":{"format":"int32","enum":[0,1],"type":"integer"}}},"MembershipFeeDto":{"type":"object","properties":{"year":{"format":"int32","description":"Membership year the fee covers.","type":"integer"},"remainingDebt":{"format":"double","description":"Amount still owed on this fee. Zero once fully paid.","type":"number"},"debtAmount":{"format":"double","description":"Amount originally charged.","type":"number"},"debtType":{"format":"int32","description":"What the charge is for: membership fee, donation, event ticket or a custom debt.","enum":[0,1,2],"type":"integer"},"currency":{"format":"int32","description":"Currency the amounts are in.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"debtStatus":{"format":"int32","description":"Whether the fee is outstanding, paid or cancelled.","enum":[0,1,-1],"type":"integer"},"debtDescription":{"description":"Free-text description shown to the contact.","type":"string"}}},"OrganisationSettingsDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Organisation id.","type":"string"},"name":{"description":"Organisation display name.","type":"string"},"shortName":{"description":"Abbreviated name, used where space is tight.","type":"string"},"permalink":{"description":"Raklet permalink, the subdomain the member portal is served on.","type":"string"},"language":{"description":"Default language for the portal and for outgoing mail.","type":"string"},"timeZoneId":{"description":"IANA timezone the organisation's dates are shown in.","type":"string"},"stripeCustomerId":{"description":"Stripe customer id for the organisation's own Raklet subscription.","type":"string"},"stripePlanId":{"description":"Stripe plan id of that subscription.","type":"string"},"activeUntil":{"format":"date-time","description":"When the organisation's Raklet subscription runs out, UTC.","type":"string"},"organisationColor1":{"description":"Primary brand colour used across the portal.","type":"string"},"organisationColor2":{"description":"Secondary brand colour.","type":"string"},"currency":{"format":"int32","description":"Default currency for fees, donations and tickets.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"state":{"format":"int32","description":"Whether the organisation is active, suspended or closed.","enum":[0,-9],"type":"integer"},"logoUrl":{"description":"URL of the organisation's logo.","type":"string"},"logoWidth":{"format":"int32","description":"Rendered logo width in pixels.","type":"integer"},"logoHeight":{"format":"int32","description":"Rendered logo height in pixels.","type":"integer"},"loginPageTitle":{"description":"Heading shown above the member sign-in form.","type":"string"},"isDeleted":{"description":"True when the organisation has been deleted and is retained only for history.","type":"boolean"},"createdOn":{"format":"date-time","description":"When the organisation was created, UTC.","type":"string"},"smsProfit":{"format":"double","description":"Margin Raklet adds to SMS sent by this organisation.","type":"number"},"invoiceAddress":{"description":"Address printed on the organisation's own Raklet invoices.","type":"string"},"isLoginSocialNetworkEnabled":{"description":"True when members may sign in with a social account.","type":"boolean"},"isLoginSmsEnabled":{"description":"True when members may sign in with a code sent by SMS.","type":"boolean"},"isLoginPasswordEnabled":{"description":"True when members may sign in with a password.","type":"boolean"},"isLoginWithOneTimeLoginEnabled":{"description":"True when members may sign in with a one-time link emailed to them.","type":"boolean"},"isLoginTwoFactorEnabled":{"description":"True when members must complete a second factor to sign in.","type":"boolean"},"isMemberListVisible":{"description":"True when the member directory is shown in the portal.","type":"boolean"},"isCompanyListVisible":{"description":"True when the company directory is shown.","type":"boolean"},"isSectorListVisible":{"description":"True when the sector directory is shown.","type":"boolean"},"isSchoolListVisible":{"description":"True when the school directory is shown.","type":"boolean"},"isCityListVisible":{"description":"True when the city directory is shown.","type":"boolean"},"isCountryListVisible":{"description":"True when the country directory is shown.","type":"boolean"},"isJobPostingsEnabled":{"description":"True when the job board is available in the portal.","type":"boolean"},"isOfferedServicesEnabled":{"description":"True when members may list services they offer.","type":"boolean"},"isApplicationFormEnabled":{"description":"True when the public membership application form is open.","type":"boolean"},"applicationFormTitle":{"description":"Heading on the application form.","type":"string"},"applicationFormHeader":{"description":"Text shown above the application form fields.","type":"string"},"applicationFormFooter":{"description":"Text shown below the application form fields.","type":"string"},"applicationFormBenefits":{"description":"Membership benefits listed alongside the application form.","type":"string"},"membershipTerms":{"description":"Membership terms an applicant must accept.","type":"string"},"termsOfUseApp":{"description":"The organisation's terms of use, shown in the portal.","type":"string"},"termsOfUse2App":{"description":"A second terms document, where the organisation uses one.","type":"string"},"applicationFormIsAddressEnabled":{"description":"True when the application form asks for an address.","type":"boolean"},"applicationFormIsCommentsEnabled":{"description":"True when the application form offers a free-text comment box.","type":"boolean"},"applicationFormIsGenderEnabled":{"description":"True when the application form asks for gender.","type":"boolean"},"applicationFormIsBirthDateEnabled":{"description":"True when the application form asks for a date of birth.","type":"boolean"},"applicationFormIsBirthPlaceEnabled":{"description":"True when the application form asks for a place of birth.","type":"boolean"},"applicationFormIsNationalityEnabled":{"description":"True when the application form asks for nationality.","type":"boolean"},"applicationFormIsTaxNumberEnabled":{"description":"True when the application form asks for a tax number.","type":"boolean"},"applicationFormIsUnder18ControlEnabled":{"description":"True when applicants under 18 are refused or routed for approval.","type":"boolean"},"applicationFormRegistrationFee":{"format":"double","description":"One-off fee charged on a successful application. Zero for none.","type":"number"},"applicationFormAgreement":{"description":"Agreement text an applicant must accept before submitting.","type":"string"},"smsIsEnabled":{"description":"True when the organisation can send SMS.","type":"boolean"},"isPaymentEnabled":{"description":"True when the portal collects membership payments.","type":"boolean"},"isDonationEnabled":{"description":"True when the portal accepts donations.","type":"boolean"},"isCustomPaymentEnabled":{"description":"True when the portal offers one-off custom payment buttons.","type":"boolean"},"paymentHeader":{"description":"Text shown above the portal payment page.","type":"string"},"paymentFooter":{"description":"Text shown below the portal payment page.","type":"string"},"isOnlineCreditCardEnabled":{"description":"True when card payments are switched on.","type":"boolean"},"onlineCreditCardSubMerchantId":{"description":"The organisation's sub-merchant id with the card processor.","type":"string"},"creditCardProcessor":{"format":"int32","description":"Which processor handles card payments for this organisation.","enum":[0,1,2,4,5,6],"type":"integer"},"commissionRate":{"format":"double","description":"Percentage Raklet takes from each payment.","type":"number"},"commissionFee":{"format":"double","description":"Flat amount Raklet takes from each payment, on top of CommissionRate.","type":"number"},"commissionFeeCurrency":{"format":"int32","description":"Currency CommissionFee is expressed in.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"organisationSupportEmail":{"description":"Email address members are pointed at for help.","type":"string"},"organisationSupportPhone":{"description":"Phone number members are pointed at for help.","type":"string"},"welcomeImageUrl":{"description":"Image at the top of the welcome email sent to new members.","type":"string"},"welcomeSubject":{"description":"Subject line of that welcome email.","type":"string"},"welcomeText":{"description":"Body of that welcome email.","type":"string"},"defaultPhoneCountryCode":{"description":"Dialling code pre-selected on phone fields.","type":"string"},"defaultAddressCountry":{"description":"Country pre-selected on address fields.","type":"string"},"defaultSmsIdentityId":{"format":"uuid","description":"Sender identity used for outgoing SMS.","type":"string"},"defaultEmailIdentityId":{"format":"uuid","description":"Sender identity used for outgoing email.","type":"string"},"memberNoType":{"format":"int32","description":"How Raklet generates membership numbers: sequential, by year, or set by hand.","enum":[0,1,2],"type":"integer"},"legalEntityVerificationDocumentUrl":{"description":"Document proving the organisation's legal identity, held for payment onboarding.","type":"string"},"legalEntityOwnersVerificationDocumentUrl":{"description":"Document proving the identity of the organisation's owners, held for payment onboarding.","type":"string"},"isWeeklyNewsletterEnabled":{"description":"True when Raklet sends members a weekly digest.","type":"boolean"},"isWeeklyNewsletterAnnouncements":{"description":"Include recent posts in that digest.","type":"boolean"},"isWeeklyNewsletterDonationCampaigns":{"description":"Include live donation campaigns in that digest.","type":"boolean"},"isWeeklyNewsletterNewMembersEnabled":{"description":"Include newly joined members in that digest.","type":"boolean"},"isWeeklyNewsletterJobOffers":{"description":"Include new job postings in that digest.","type":"boolean"},"isWeeklyNewsletterJobSeekers":{"description":"Include members looking for work in that digest.","type":"boolean"},"isWeeklyNewsletterServices":{"description":"Include member-offered services in that digest.","type":"boolean"},"isWeeklyNewsletterMemberUnreadMessages":{"description":"Remind each member of their unread portal messages.","type":"boolean"},"isWeeklyNewsletterMemberDebt":{"description":"Remind each member of what they still owe.","type":"boolean"},"googleAnalyticsTrackerId":{"description":"Google Analytics measurement id for the member portal.","type":"string"},"balance":{"format":"double","description":"The organisation's prepaid balance with Raklet, for SMS and other metered use.","type":"number"},"totalCost":{"format":"double","description":"What that metered use has cost to date.","type":"number"},"totalProfit":{"format":"double","description":"Raklet's margin on that use to date.","type":"number"},"isTermsOfUseRequiredForAccess":{"description":"True when a member must accept the terms of use before the portal will let them in.","type":"boolean"}}},"Models.Dtos.Common.ApiResult`1[[Raklet.Api.Dtos.Page.PageDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Raklet.Api.Dtos.Page.PageDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Page.PageDto":{"required":["title","content"],"type":"object","properties":{"slug":{"description":"URL-safe identifier of the page within the organisation's site.","type":"string"},"title":{"description":"Page title.","type":"string"},"content":{"description":"Page body, as HTML.","type":"string"},"metaDesc":{"description":"Meta description used by search engines and link previews.","type":"string"},"imageUrl":{"description":"Cover image for the page, used in link previews.","type":"string"},"createdOn":{"format":"int32","type":"integer"},"publishedOn":{"format":"int32","type":"integer"},"isApproved":{"type":"boolean"},"layout":{"format":"int32","enum":[0,1],"type":"integer"},"status":{"format":"int32","enum":[0,1],"type":"integer"},"permissionType":{"format":"int32","enum":[0,1,2,3,4,5],"type":"integer"},"plans":{"type":"object","additionalProperties":{"type":"boolean"}},"id":{"type":"string"}}},"Raklet.Api.Controllers.App.Payments.PaymentDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Payment id.","type":"string"},"amount":{"format":"double","description":"Amount paid.","type":"number"},"currency":{"format":"int32","description":"Currency the payment was made in.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"paymentMethod":{"format":"int32","description":"How the contact paid: card, bank transfer, cash and so on.","enum":[0,1,2,3,4,5,10,11],"type":"integer"},"paymentDate":{"format":"date-time","description":"When the payment was made, UTC.","type":"string"},"referenceNumber":{"description":"Reference the organisation recorded against the payment.","type":"string"},"identifier":{"description":"Processor-side identifier for the transaction. Empty for manually recorded payments.","type":"string"},"createdOn":{"format":"date-time","description":"When the payment record was created in Raklet, UTC.","type":"string"}}},"PaymentTicketDto":{"required":["amount","currency"],"type":"object","properties":{"id":{"format":"uuid","description":"Payment ticket id. Send it back when charging the card.","type":"string"},"amount":{"format":"double","description":"Amount the ticket authorises.","type":"number"},"currency":{"format":"int32","description":"Currency of the amount.","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"donationCampaignId":{"format":"uuid","description":"Campaign the payment is for, when it is a donation.","type":"string"},"_DonationCampaignName":{"description":"Name of that campaign. Read-only.","type":"string"},"isDonorNameHidden":{"description":"True to keep the donor anonymous on the campaign's public donor list.","type":"boolean"},"paymentType":{"format":"int32","description":"What the ticket pays for: a membership fee, a donation or an event ticket.","enum":[0,1,2,3],"type":"integer"}}},"Models.Dtos.v2.Common.FilterResultDto`1[[Raklet.Api.Dtos.Announcement.AnnouncementDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"data":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementDto"}}}},"Raklet.Api.Dtos.Announcement.AnnouncementDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Post id.","type":"string"},"subject":{"description":"Post title.","type":"string"},"description":{"description":"Full post body, as HTML.","type":"string"},"shortDescription":{"description":"One-line summary used in listings.","type":"string"},"summary":{"description":"Plain-text excerpt of the body, for previews and notifications.","type":"string"},"imageFile":{"description":"Storage path of the post's cover image.","type":"string"},"imageUrl":{"description":"Public URL of that cover image.","type":"string"},"url":{"description":"Public URL of the post on the organisation's portal.","type":"string"},"slug":{"description":"URL-safe form of the subject, used in that URL.","type":"string"},"createdOn":{"description":"When the post was created.","type":"string"},"publishedOn":{"description":"When the post went live. Empty while it is still a draft.","type":"string"},"attachmentsCount":{"format":"int32","description":"How many files are attached.","type":"integer"},"status":{"format":"int32","description":"Whether the post is a draft, published or archived.","enum":[0,1,2,3,4,5],"type":"integer"},"statusText":{"description":"Status as its name rather than its numeric value.","type":"string"},"permissionType":{"format":"int32","description":"Who may read the post: everyone, members, or named plans and categories.","enum":[0,1,2,3,4,5],"type":"integer"},"permissionTypeText":{"description":"PermissionType as its name rather than its numeric value.","type":"string"},"organisation":{"$ref":"#/definitions/Services.Dtos.OrganisationBasicDto","description":"The organisation that published the post."},"plans":{"description":"Membership plans allowed to read the post, by plan id.","type":"object","additionalProperties":{"type":"boolean"}},"categories":{"description":"Categories allowed to read the post, by category id.","type":"object","additionalProperties":{"type":"boolean"}},"attachmentDtos":{"description":"The attached files.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.AnnouncementAttachmentDto"}},"like":{"format":"int32","description":"Who may like the post, and who may see the likes.","enum":[0,1,2],"type":"integer"},"comment":{"format":"int32","description":"Who may comment on the post, and who may see the comments.","enum":[0,1,2],"type":"integer"},"share":{"format":"int32","description":"Who may share the post, and who may see the shares.","enum":[0,1,2],"type":"integer"},"isPinned":{"description":"True when the post is pinned to the top of the feed.","type":"boolean"},"announcementType":{"format":"int32","description":"Whether this is an ordinary post or a poll.","enum":[0,1],"type":"integer"},"pollStatus":{"format":"int32","description":"For a poll: whether it is open, closed or scheduled.","enum":[0,1],"type":"integer"},"pollClosesOn":{"format":"date-time","description":"For a poll: when voting closes, UTC.","type":"string"},"pollSelectionMode":{"format":"int32","description":"For a poll: whether voters pick one option or several.","enum":[0,1],"type":"integer"},"pollMaxSelections":{"format":"int32","description":"For a multi-select poll: the most options one voter may pick.","type":"integer"},"pollResultsVisibility":{"format":"int32","description":"For a poll: who may see the tally, and when.","enum":[0,1,2],"type":"integer"},"pollVoteVisibility":{"format":"int32","description":"For a poll: whether individual votes are attributable or anonymous.","enum":[0,1],"type":"integer"},"pollOptions":{"description":"For a poll: the options voters choose between.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Dtos.Announcement.PollOptionDto"}}}},"Raklet.Api.Dtos.Announcement.AnnouncementAttachmentDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Attachment id.","type":"string"},"file":{"description":"Storage URL of the attached file.","type":"string"},"fileName":{"description":"Original file name, with extension.","type":"string"},"title":{"description":"Display title for the attachment. Falls back to FileName.","type":"string"},"size":{"format":"int32","description":"File size in bytes.","type":"integer"},"mgUrl":{"description":"Media-gateway URL used to serve the file to members.","type":"string"}}},"Raklet.Api.Dtos.Announcement.PollOptionDto":{"description":"Polls v1.x — flat option row, surfaced on the admin SPA edit page so\r\nmanagers can SEE the existing options without us having to expose the\r\nfull Polls API surface here. Read-only on this DTO: editing options on\r\na poll that already has votes would invalidate the vote-after-lock\r\nguarantee, so option edits stay out of the v1 admin update path.","type":"object","properties":{"id":{"format":"uuid","description":"Poll option id. Send it back when voting.","type":"string"},"text":{"description":"The option as voters see it.","type":"string"},"displayOrder":{"format":"int32","description":"Position in the option list, ascending.","type":"integer"}}},"Raklet.Api.Controllers.App.Connections.SchoolDto":{"type":"object","properties":{"name":{"description":"School or university name.","type":"string"},"count":{"format":"int32","description":"How many of the organisation's contacts attended.","type":"integer"},"slug":{"description":"URL-safe form of Name, for linking to the school's directory page.","type":"string","readOnly":true},"members":{"description":"The contacts who attended. Populated by the details endpoint only.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.SchoolMemberDto"}}}},"Raklet.Api.Controllers.App.Connections.SchoolMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The contact's organisation membership id.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo. Empty when they have none.","type":"string"},"firstName":{"description":"The contact's first name.","type":"string"},"lastName":{"description":"The contact's last name.","type":"string"},"fullName":{"description":"First and last name joined for display.","type":"string"},"school":{"description":"School the contact attended.","type":"string"},"department":{"description":"Department or programme they studied.","type":"string"},"isCurrent":{"description":"True while the contact is still studying there.","type":"boolean"},"startYear":{"format":"int32","description":"Year they started.","type":"integer"},"endYear":{"format":"int32","description":"Year they finished. Null while still studying.","type":"integer"}}},"Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.List`1[[Raklet.Api.Dtos.Organisation.OrganisationDto, Raklet.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/definitions/Raklet.Api.Dtos.Organisation.OrganisationDto"}},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Organisation.OrganisationDto":{"type":"object","properties":{"name":{"type":"string"},"shortName":{"type":"string"},"permalink":{"type":"string"},"url":{"type":"string"},"logoUrl":{"type":"string"},"language":{"type":"string"},"primaryColor":{"type":"string"},"secondaryColor":{"type":"string"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"supportEmail":{"type":"string"},"supportPhone":{"type":"string"},"timeZoneId":{"type":"string"},"dateFormat":{"type":"string"},"timeFormat":{"type":"string"},"invoiceAddress":{"type":"string"},"contactCount":{"format":"int32","type":"integer"},"notificationCount":{"format":"int32","type":"integer"},"applicationFormRegistrationFee":{"format":"double","type":"number"},"isApplicationFormEnabled":{"type":"boolean"},"onlineCreditCardSubMerchantId":{"type":"string"},"defaultPaymentAccountId":{"format":"uuid","type":"string"},"defaultEmailIdentityId":{"format":"uuid","type":"string"},"isMembershipBankTransferEnabled":{"type":"boolean"},"organisationNewApplicationCount":{"format":"int32","type":"integer"},"organisationPendingCommentsCount":{"format":"int32","type":"integer"},"organisationPendingPostsCount":{"format":"int32","type":"integer"},"organisationPendingJobsCount":{"format":"int32","type":"integer"},"organisationPendingEventsCount":{"format":"int32","type":"integer"},"organisationPendingSocialItemsCount":{"format":"int32","type":"integer","readOnly":true},"navigationData":{"type":"object"},"isPaymentEnabled":{"type":"boolean"},"organisationLoginActivityCount":{"type":"string"},"organisationMissingInfoCount":{"type":"string"},"isManager":{"type":"boolean"},"isSubscriptionPastDue":{"type":"boolean"},"hasNonSubscriptionPastDueInvoices":{"type":"boolean"},"subscriptionTrialEnd":{"format":"date-time","type":"string"},"categoryPrimary":{"type":"string"},"contactPlanLimit":{"type":"boolean"},"subscriptionPlan":{"$ref":"#/definitions/Models.Dtos.RakletSubscriptionPlanDto"},"createdOnUnix":{"format":"int32","type":"integer"},"organisationIsOfferedServiceEnabled":{"type":"boolean"},"customDomain":{"type":"string"},"isMessagingEnabled":{"type":"boolean"},"isLoginSocialNetworkEnabled":{"type":"boolean"},"isMemberListVisible":{"type":"boolean"},"isCompanyListVisible":{"type":"boolean"},"isSectorListVisible":{"type":"boolean"},"isSchoolListVisible":{"type":"boolean"},"isCityListVisible":{"type":"boolean"},"isCountryListVisible":{"type":"boolean"},"membersDirectoryVisibility":{"format":"int32","enum":[0,1,2],"type":"integer"},"invoiceText":{"type":"string"},"creditCardProcessor":{"type":"string"},"useNewEmailModule":{"type":"boolean"},"defaultEmailV2TemplateId":{"type":"string"},"legalEntityActivation":{"type":"boolean"},"id":{"format":"uuid","type":"string"}}},"Models.Dtos.RakletSubscriptionPlanDto":{"type":"object","properties":{"subscriptionId":{"type":"string"},"subscriptionInterval":{"type":"string"},"subscriptionAmount":{"format":"double","type":"number"},"stripeCustomerId":{"type":"string"},"planId":{"type":"string"},"planName":{"type":"string"},"customCss":{"type":"boolean"},"customJs":{"type":"boolean"},"apiAccess":{"type":"boolean"},"digitalCard":{"type":"boolean"},"customDomain":{"type":"boolean"},"roleBasedAccess":{"type":"boolean"},"zapierIntegration":{"type":"boolean"},"boardSettingsAccess":{"type":"boolean"},"customEmailSenderName":{"type":"boolean"},"loginTwoFactorAccess":{"type":"boolean"},"contactUsage":{"format":"int64","type":"integer"},"adminSeatUsage":{"format":"int64","type":"integer"},"emailCreditsUsage":{"format":"int64","type":"integer"},"customFieldsCreditsUsage":{"format":"int64","type":"integer"},"roleCreditsUsage":{"format":"int64","type":"integer"},"contactCredits":{"format":"int64","type":"integer"},"adminSeatCredits":{"format":"int64","type":"integer"},"emailCredits":{"format":"int64","type":"integer"},"customFieldsCredits":{"format":"int64","type":"integer"},"emailSenderNameCredits":{"format":"int64","type":"integer"},"roleCredits":{"format":"int64","type":"integer"},"directoryCredits":{"format":"int64","type":"integer"},"directoryCreditsUsage":{"format":"int64","type":"integer"},"prioritySupportCredits":{"format":"int64","type":"integer"},"prioritySupportCreditsUsage":{"format":"int64","type":"integer"},"customDomainIncluded":{"type":"boolean"},"customDomainActivated":{"type":"boolean"},"isYearly":{"type":"boolean"}}},"Raklet.Api.Controllers.App.Connections.SectorDto":{"type":"object","properties":{"name":{"description":"Industry sector name.","type":"string"},"count":{"format":"int32","description":"How many of the organisation's contacts work in it.","type":"integer"},"slug":{"description":"URL-safe form of Name, for linking to the sector's directory page.","type":"string","readOnly":true},"members":{"description":"The contacts working in it. Populated by the details endpoint only.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.SectorMemberDto"}}}},"Raklet.Api.Controllers.App.Connections.SectorMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The contact's organisation membership id.","type":"string"},"firstName":{"description":"The contact's first name.","type":"string"},"lastName":{"description":"The contact's last name.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo. Empty when they have none.","type":"string"},"title":{"description":"The contact's job title.","type":"string"},"fullName":{"description":"First and last name joined for display.","type":"string"},"type":{"format":"int32","description":"Whether the contact is an individual, a corporate member or a sub-member.","enum":[0,1,2,3,4,5,6],"type":"integer"},"company":{"description":"Employer the contact works for in this sector.","type":"string"},"position":{"description":"Job title held there.","type":"string"},"isCurrent":{"description":"True while the contact still holds the role.","type":"boolean"},"endYear":{"format":"int32","description":"Year they left the role. Null while still there.","type":"integer"},"startYear":{"format":"int32","description":"Year they started the role.","type":"integer"}}},"Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"string"}},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}}},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Dtos.Organisation.OrganisationSettingsSocialNetworkDto":{"type":"object","properties":{"isLoginSocialNetworkEnabled":{"description":"True when members can sign in to the member portal with a social account.","type":"boolean"},"isMemberListVisible":{"description":"True when the member directory is shown in the portal.","type":"boolean"},"isCompanyListVisible":{"description":"True when the company directory is shown.","type":"boolean"},"isSectorListVisible":{"description":"True when the sector directory is shown.","type":"boolean"},"isSchoolListVisible":{"description":"True when the school directory is shown.","type":"boolean"},"isCityListVisible":{"description":"True when the city directory is shown.","type":"boolean"},"isCountryListVisible":{"description":"True when the country directory is shown.","type":"boolean"},"membersDirectoryVisibility":{"format":"int32","description":"Who may browse the member directory: everyone, members only, or nobody.","enum":[0,1,2],"type":"integer"},"publicCoursesEnabled":{"description":"True when visitors who are not signed in can open the course catalog, Public courses and certificate verification even while Lock Portal Content is on.","type":"boolean"},"id":{"format":"uuid","type":"string"}}},"Raklet.Api.Dtos.Organisation.OrganisationSettingsMessagingDto":{"type":"object","properties":{"isMessagingEnabled":{"description":"True when members can message each other through the portal. Null when the organisation has never set it.","type":"boolean"},"id":{"format":"uuid","type":"string"}}},"Models.JsonTypes.CustomAttributes.FieldObject":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"description":{"type":"string"},"dataType":{"type":"string"},"defaultValue":{"type":"object"},"options":{"type":"array","items":{"$ref":"#/definitions/Models.JsonTypes.CustomAttributes.OptionItem"}},"isRequired":{"type":"boolean"},"validator":{"type":"object"},"isContactVisible":{"type":"boolean"},"isContactEditable":{"type":"boolean"},"isSystemAttribute":{"type":"boolean"},"isImportable":{"type":"boolean"},"isDeleted":{"type":"boolean"},"isVisibleOnGrid":{"type":"boolean"},"isActivated":{"type":"boolean"},"contactVisibility":{"format":"int32","type":"integer"},"category":{"type":"string"},"order":{"format":"int32","type":"integer"},"inputType":{"type":"string"},"returnValue":{"type":"string"},"plans":{"type":"object","additionalProperties":{"type":"boolean"}},"isDropdown":{"type":"boolean"},"showContactGrid":{"type":"boolean"}}},"Models.JsonTypes.CustomAttributes.OptionItem":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}}},"Models.Dtos.Common.ApiResult`1[[System.Collections.Generic.List`1[[Models.Dtos.v2.Membership.CustomMembershipDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.v2.Membership.CustomMembershipDto"}},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Models.Dtos.v2.Membership.CustomMembershipDto":{"type":"object","properties":{"id":{"format":"uuid","type":"string"},"customMemberTypeId":{"format":"uuid","type":"string"},"planName":{"type":"string"},"planBenefit":{"type":"string"},"planInterval":{"type":"string"},"memberFullName":{"type":"string"},"memberNo":{"type":"string"},"memberPictureUrl":{"type":"string"},"customAttributesValues":{"type":"string"},"memberPlanBalance":{"format":"double","type":"number"},"subscriptionDebtsTotal":{"format":"double","type":"number"},"subscriptionPaymentsTotal":{"format":"double","type":"number"},"renewalDate":{"format":"date-time","type":"string"},"gracePeriodEndDate":{"format":"date-time","type":"string"},"nextReminderDate":{"format":"date-time","type":"string"},"renewalDateString":{"type":"string"},"creditCardNo":{"type":"string"},"organisationMembershipId":{"format":"uuid","type":"string"},"startDate":{"format":"date-time","type":"string"},"endDate":{"format":"date-time","type":"string"},"status":{"format":"int32","enum":[0,4,-3,-2,-1],"type":"integer"},"statusStr":{"type":"string","readOnly":true},"disableReminder":{"type":"boolean"},"updateMemberStatus":{"type":"boolean"},"summaryText":{"type":"string"},"updateScheduledPaymentDate":{"type":"boolean"},"parentCustomMembershipId":{"format":"uuid","type":"string"},"resolvedPaymentAccountId":{"format":"uuid","type":"string"},"currency":{"format":"int32","enum":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137],"type":"integer"},"isScheduledPaymentEligible":{"type":"boolean"},"membershipFee":{"format":"double","type":"number"},"planHasSpecificStartDate":{"type":"boolean"},"couponId":{"type":"string"},"couponName":{"type":"string"},"couponDiscountType":{"type":"string"},"couponDiscountAmount":{"format":"double","type":"number"},"couponDuration":{"type":"string"},"remainingDiscountedRenewals":{"format":"int32","type":"integer"}}},"Models.Dtos.Common.ApiResult`1[[Models.Dtos.v2.Membership.CustomMembershipDto, Models, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]":{"type":"object","properties":{"code":{"format":"int32","type":"integer"},"message":{"type":"string"},"internalMessage":{"type":"string"},"data":{"$ref":"#/definitions/Models.Dtos.v2.Membership.CustomMembershipDto"},"paging":{"$ref":"#/definitions/Models.Dtos.v2.Common.PagingDto"},"isSuccess":{"type":"boolean"},"errors":{"type":"array","items":{"$ref":"#/definitions/Models.Dtos.Common.ErrorItem"}}}},"Raklet.Api.Controllers.App.Connections.TagDto":{"type":"object","properties":{"id":{"format":"uuid","description":"Tag id.","type":"string"},"name":{"description":"Tag name as shown to members.","type":"string"},"isMemberSelectable":{"description":"True when members may add this tag to themselves from the portal.","type":"boolean"},"memberCount":{"format":"int32","description":"How many contacts carry the tag.","type":"integer"},"members":{"description":"The contacts carrying the tag. Populated by the details endpoint only.","type":"array","items":{"$ref":"#/definitions/Raklet.Api.Controllers.App.Connections.TagMemberDto"}}}},"Raklet.Api.Controllers.App.Connections.TagMemberDto":{"type":"object","properties":{"id":{"format":"uuid","description":"The contact's organisation membership id.","type":"string"},"name":{"description":"Name of the tag this contact carries.","type":"string"},"firstName":{"description":"The contact's first name.","type":"string"},"lastName":{"description":"The contact's last name.","type":"string"},"pictureUrl":{"description":"URL of the contact's profile photo. Empty when they have none.","type":"string"},"title":{"description":"The contact's job title.","type":"string"},"fullName":{"description":"First and last name joined for display.","type":"string"},"membershipType":{"format":"int32","description":"Whether the contact is an individual, a corporate member or a sub-member.","type":"integer"}}}},"securityDefinitions":{"oauth2":{"type":"oauth2","description":"OAuth 2.0 resource owner password credentials. POST grant_type=password with a Raklet admin user's username and password to the token endpoint and send the returned access_token as \"Authorization: Bearer <access_token>\". A token carries that user's own permissions and nothing more. The optional scope parameter narrows a token; omitting it keeps the user's full permissions.","flow":"password","tokenUrl":"https://api.raklet.com/token","scopes":{"contacts:read":"Read contacts, their sub-records, tags and the member directory.","contacts:write":"Create, update and delete contacts, their sub-records and tags.","events:read":"Read events, ticket options, tickets and member event submissions.","events:write":"Buy tickets and create or edit member event submissions.","payments:read":"Read payments, debts, donations, membership fees and subscriptions.","payments:write":"Record payments, debts, donations and card charges.","content:read":"Read boards, posts, pages and job postings.","content:write":"Create, update and delete boards, posts and their attachments.","settings:read":"Read organisation settings, field definitions and applications."}},"bearer":{"type":"apiKey","description":"Send \"Authorization: Bearer <access_token>\" directly, with a token obtained from POST /token, or - for the organisation API token endpoints - from POST /public/account/auth.","name":"Authorization","in":"header"}},"security":[{"oauth2":[]},{"bearer":[]}]}