POST public/v2/pools

Create a new pool

Request Information

URI Parameters

None.

Body Parameters

BitPool.Base.DTO.BP_RegisterPool
NameDescriptionTypeAdditional information
Poolname

string

None.

Public

boolean

None.

Virtual

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Poolname": "sample string 1",
  "Public": true,
  "Virtual": true
}

application/xml, text/xml

Sample:
<BP_RegisterPool>
  <Poolname>sample string 1</Poolname>
  <Public>true</Public>
  <Virtual>true</Virtual>
</BP_RegisterPool>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BitPool.Base.Entities.BitPoolEntity
NameDescriptionTypeAdditional information
PoolKey

globally unique identifier

None.

Name

string

None.

RegistrationDate

date

None.

Virtual

boolean

None.

Public

boolean

None.

Owner

boolean

None.

AccessMode

BitPool.Base.Enums.BitPoolUserRolesTypes

None.

UtcOffset

decimal number

None.

TimeZone

string

None.

Response Formats

application/json, text/json

Sample:
{
  "PoolKey": "e78451f4-36a3-420f-ab75-4ad882595311",
  "Name": "sample string 2",
  "RegistrationDate": "2019-05-19T19:13:28.266+00:00",
  "Virtual": true,
  "Public": true,
  "Owner": true,
  "AccessMode": 0,
  "UtcOffset": 7.1,
  "TimeZone": "sample string 8"
}

application/xml, text/xml

Sample:
<BitPoolEntity>
  <PoolKey>e78451f4-36a3-420f-ab75-4ad882595311</PoolKey>
  <Name>sample string 2</Name>
  <RegistrationDate>2019-05-19T19:13:28.2663725+00:00</RegistrationDate>
  <Virtual>true</Virtual>
  <Public>true</Public>
  <Owner>true</Owner>
  <AccessMode>Administrator</AccessMode>
  <UtcOffset>7.1</UtcOffset>
  <TimeZone>sample string 8</TimeZone>
</BitPoolEntity>