v2
latestOpenAPI 3.0.12026-07-263104131.9 MBBilling
Creates an agreement.
Creates an agreement with all his properties and products.
post/v2/billing/agreements
Request body
object required
Response
Successfully created agreement.
Example response
{
"client": {
"id": 789,
"name": "Acme Corporation"
},
"products": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"deviceCountsProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"timeEntriesProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"endUserCountsProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"backupStorageCountsProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
],
"softwareLicenseProducts": [
{
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
}
}
]
}