Skip to content

RfqInvitation response model

All models · Download OpenAPI

Nullable fields represent unknown values; they do not imply zero cost or a completed action.

Field Type Required Details
id string Yes Format: uuid
factoryId string Yes Format: uuid
factoryNameEn string or null Yes
factoryNameZh string or null Yes
factoryCity string or null Yes
threadId string or null Yes
status string Yes One of: invited, viewed, declined, quoted, accepted, rejected
declined boolean Yes A recorded decline, which is not the same as an absent invitation
declinedReason string or null Yes
viewedAt string or null Yes
createdAt string Yes
updatedAt string Yes
latestQuoteVersion integer or null Yes
publishedRevisions object[] Yes The revisions of this request this factory was actually a recipient of, oldest first. Empty on an RFQ created in the Maglev workspace. A factory added by a later revision does not list revisions it was never sent.
publishedRevisions[].revision integer If parent supplied
publishedRevisions[].reviewSha256 string If parent supplied
publishedRevisions[].publishedAt string If parent supplied Format: date-time
currentRevision integer or null Yes
quotes SupplierQuote[] Yes Newest version first; earlier versions are retained
Full JSON schema
{
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"factoryId": {
"type": "string",
"format": "uuid"
},
"factoryNameEn": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"factoryNameZh": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"factoryCity": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"threadId": {
"anyOf": [
{
"type": "string",
"format": "uuid"
},
{
"type": "null"
}
]
},
"status": {
"type": "string",
"enum": [
"invited",
"viewed",
"declined",
"quoted",
"accepted",
"rejected"
]
},
"declined": {
"type": "boolean",
"description": "A recorded decline, which is not the same as an absent invitation"
},
"declinedReason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"viewedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"latestQuoteVersion": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"publishedRevisions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"revision": {
"type": "integer"
},
"reviewSha256": {
"type": "string"
},
"publishedAt": {
"type": "string",
"format": "date-time"
}
},
"required": [
"revision",
"reviewSha256",
"publishedAt"
]
},
"description": "The revisions of this request this factory was actually a recipient of, oldest first. Empty on an RFQ created in the Maglev workspace. A factory added by a later revision does not list revisions it was never sent."
},
"currentRevision": {
"anyOf": [
{
"type": "integer",
"description": "The newest revision this factory was sent; null when the RFQ was not published through the API"
},
{
"type": "null"
}
]
},
"quotes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SupplierQuote"
},
"description": "Newest version first; earlier versions are retained"
}
},
"required": [
"id",
"factoryId",
"factoryNameEn",
"factoryNameZh",
"factoryCity",
"threadId",
"status",
"declined",
"declinedReason",
"viewedAt",
"createdAt",
"updatedAt",
"latestQuoteVersion",
"publishedRevisions",
"currentRevision",
"quotes"
]
}