Invite an Organization
POST/v1/organizations/invite
Invites an organization to register on the BidZenith platform. An organization administrator receives instructions to complete registration of the organization, and is able to subsequently invite other users to the organization.
Request
- application/json
Body
The request received from the client.
The name of the Organization.
The email of the user to make an administrator for the Organization.
(Optional) An IANA time zone database identifier corresponding to the time
zone for date and time related properties e.g. "Australia/Sydney"
. If unspecified, defaults to "Australia/Sydney"
.
(Optional) A culture (locale) in a format "languagecode2-country/regioncode2"
e.g. "en-US"
. The culture determines the
formatting for dates and numbers. If unspecified, defaults to "en-AU"
.
Responses
- 200
- default
OK
- application/json
- Schema
- Example (from schema)
Schema
organization
object
required
An Organization.
The Organization identifier.
The name of the Organization.
An IANA time zone database identifier corresponding to the time
zone for date and time related properties e.g. "Australia/Sydney"
.
A culture (locale) in a format "languagecode2-country/regioncode2"
e.g. "en-US"
. The culture determines the
formatting for dates and numbers.
A timestamp of when the organization was invited.
{
"organization": {
"organizationId": "string",
"name": "string",
"timeZone": "string",
"culture": "string"
},
"timestamp": "2024-07-29T15:51:28.071Z"
}
Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
An error status code describing the response.
Enum Value | Description |
---|---|
0 | OK |
1 | Cancelled |
2 | Unknown |
3 | InvalidArgument |
4 | DeadlineExceeded |
5 | NotFound |
6 | AlreadyExists |
7 | PermissionDenied |
8 | ResourceExhausted |
9 | FailedPrecondition |
10 | Aborted |
11 | OutOfRange |
12 | Unimplemented |
13 | Internal |
14 | Unavailable |
15 | DataLoss |
16 | Unauthenticated |
Possible values: [0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
, 16
]
A developer-facing error message
details
object[]
A list of messages containing details about the errors
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}