Documentation

One published notice

View as Markdown

GET/v1/notices/{id}

Open to any caller. A key is not required and does not change the answer.

curl "https://api.fentlig.se/v1/notices/<id>"

Parameters

ParameterInTypeNotes
idrequiredpathstringuuid
countryoptionalquerystring
foreign_buyersoptionalqueryenumexcludeinclude

Response 200

FieldTypeNotes
dataobject
data.idstringuuid
data.slugstring
data.titlestring
data.buyerNamestringnullable
data.buyerIdstringnullableuuid
data.buyerUnitobjectnullable
data.buyerUnit.namestring
data.buyerUnit.kindenumnullablejoint_centrenull
data.buyerUnit.idstringnullable
data.statusenumplannedopenclosedconcluded
data.publicationDatestringdate-time
data.deadlineDatestringnullabledate-time
data.regionCodesstring[]
data.mainCpvobjectnullable
data.mainCpv.codestring
data.mainCpv.labelstringnullable
data.mainCpv.isMainboolean
data.procedureCodestringnullable
data.estimatedValuenumbernullable
data.currencystringnullable
data.sourcestring
data.sourceUrlstringnullable
data.descriptionstringnullable
data.cpvCodesobject[]
data.cpvCodes[].codestring
data.cpvCodes[].labelstringnullable
data.cpvCodes[].isMainboolean
data.regionsobject[]
data.regions[].codestring
data.regions[].namestringnullable
data.noticeTypestring
data.publicationNumberstringnullable
data.frameworkMaxValuenumbernullable
data.awardOutcomeobjectnullable
data.awardOutcome.awardDatestringnullabledate-time
data.awardOutcome.bidCountintegernullablemin 0
data.awardOutcome.awardedValuenumbernullable
data.awardOutcome.currencystringnullable
data.awardOutcome.lotCountintegermin 0
data.awardOutcome.lotsAwardedintegernullablemin 0
data.awardOutcome.lotsNotAwardedintegernullablemin 0
data.awardOutcome.lotsUndecidedintegernullablemin 0
data.relatedobject[]
data.related[].idstringuuid
data.related[].slugstring
data.related[].titlestring
data.related[].statusenumplannedopenclosedconcluded
data.related[].publicationDatestringdate-time
data.depthWithheldboolean
data.resultPublishedElsewhereboolean
data.resultNoticeCountintegermin 0
data.resultNoticesobject[]
data.resultNotices[].idstringuuid
data.resultNotices[].slugstring
data.resultNotices[].titlestring
data.resultNotices[].statusenumplannedopenclosedconcluded
data.resultNotices[].publicationDatestringdate-time
data.listedNoticeobjectnullable
data.listedNotice.idstringuuid
data.listedNotice.slugstring
data.listedNotice.statusenumplannedopenclosedconcluded
data.listedNotice.deadlineDatestringnullabledate-time
coverageobject
coverage.sourcesstring[]
coverage.attributionobject[]
coverage.attribution[].sourcestring
coverage.attribution[].textstring
coverage.dataAsOfstringnullabledate-time
coverage.isCompleteenumfalse
coverage.notestring

Failures

  • 400The path segment is not a notice id
  • 401The API key sent is unknown, revoked or expired. Send a valid key, or none on an operation that needs none.
  • 403The API key sent belongs to a workspace whose subscription has ended. The same request without a key answers.
  • 404No published notice has this id in the markets the request covers
  • 429Too many requests in the current window, from this key or, without a key, from this address. Wait the number of seconds in `Retry-After`, then send the request again.

Every one is an RFC 9457 problem document carrying a stable code. See the error reference.