SPA Render Data
SPA: Creates a new Render Data
Creates a new render data for the authenticated user's client.
POST
/api/spa/render-dataAuthorizations
X-AUTH-TOKEN
stringheaderrequired
Value for the X-AUTH-TOKEN header parameter.
Request Body
application/json
required
The new RenderData resource
{
"value": {
"contract": {
"email": "john.doe@output.rocks"
},
"invoiceNumber": "123456",
"invoiceDate": "12 March 2022",
"items": [
{
"qty": "3",
"ItemName": "ACP101 Accounting Package",
"amt": "1350.00"
},
{
"qty": "4.5",
"ItemName": "ACP101S Standard Support",
"amt": "450.00"
},
{
"qty": "10",
"ItemName": "ACP101T Online Training",
"amt": "1200.00"
}
]
},
"subClient": {}
}Response
201
RenderData resource created
id
integer
RenderData ID generated by Output.Rocks.
value
object
Data Object
createdBy
string
User, created this entry
updatedBy
string
User, updated this entry
createdAt
string<date-time>
UTC date time of entry creation
updatedAt
string<date-time>
UTC date time of last entry update
subClientId
integer
SubClient ID. Provided on instances with enabled sub-client module only.
subClientDescription
string
SubClient description. Provided on instances with enabled sub-client module only.