Ga naar inhoud

Offer a negotiation (consumer)

POST
/dsp/negotiations/offers
curl --request POST \
--url https://example.com/dsp/negotiations/offers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'

A provider-initiated ContractOfferMessage. This connector does not accept offers it did not ask for.

A ContractOfferMessage.

Media typeapplication/json
object

Example generated

{}

Not supported.

Media typeapplication/json

A DSP error (dspace:…Error): code and reason, as JSON-LD.

object
@context
required
object
@type
required

E.g. ContractNegotiationError.

string
code
required
string
reason
required
Array<string>

Example generated

{
"@context": {},
"@type": "example",
"code": "example",
"reason": [
"example"
]
}

Not authenticated.

Media typeapplication/json

A DSP error (dspace:…Error): code and reason, as JSON-LD.

object
@context
required
object
@type
required

E.g. ContractNegotiationError.

string
code
required
string
reason
required
Array<string>

Example generated

{
"@context": {},
"@type": "example",
"code": "example",
"reason": [
"example"
]
}