Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
getCountryList
getCountryList

Get the

...

country list
Deck of Cards
idbimGetCountryList


Card
defaulttrue
labelURL / Resource / JSON Structure

Resource: countries

URLhttps://api-stage.bimplus.net/v2/ countries

Examplehttps://api-stage.bimplus.net/v2/countries


Card
labelHTTP Method
 GET


Card
labelDescription
 Gets the country list


Card
labelRequest


Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK


Code Block
borderColorRed
langxml
titleJSON
[{
    "id":"2909b0d8-c6de-425d-2303-256336ada04f",
    "name":"Germany",
    "description":"Germany"
  },
  {
    "id":"b7e10710-94f8-bfdf-72a0-eaa80f3bc57e",
    "name":"Italy",
    "description":"Italy"
  }
]



Anchor
getCountry
getCountry

Get the

...

country details
Deck of Cards
idbimGetCountry


Card
defaulttrue
labelURL / Resource / JSON Structure

Resource: countries

URLhttps://api-stage.bimplus.net/v2/ countries/<country_id>

Examplehttps://api-stage.bimplus.net/v2/countries/ed9fe5ba-96c0-f24d-9779-b06b7ce69385


Card
labelHTTP Method
 GET


Card
labelDescription
 Get information about a specified country


Card
labelRequest


Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK


Code Block
borderColorRed
langxml
titleJSON
{
  "id":"ed9fe5ba-96c0-f24d-9779-b06b7ce69385",
  "name":"Austria",
  "description":"Austria"
}



Anchor
deleteCountry
deleteCountry

Delete the specified

...

country
Deck of Cards
idbimDeleteCountry


Card
defaulttrue
labelURL / Resource / JSON Structure

Resource: countries

URLhttps://api-stage.bimplus.net/v2/ countries/<country_id>

Examplehttps://api-stage.bimplus.net/v2/countries/ed9fe5ba-96c0-f24d-9779-b06b7ce69385


Card
labelHTTP Method
 DELETE


Card
labelDescription

Delete the specified country


Card
labelRequest


Code Block
borderColorGreen
langxml
titleHeaders
Authorization: BimPlus 9c1874a62c974dcfa75e0132c423a088
Content-Type: application/json



Card
labelResponse


Code Block
borderColorGreen
langxml
titleStatus
Status: 200 OK



...