Create a society subscription
Create a new society subscription
Authorizations
Body
activebooleanOptionalDefault:
false
subscriberstring · max: 255Required
subscriptionstring · max: 255Required
Responses
201Success
application/json
400
Bad Request
application/json
401
Unauthorized Entity
application/json
409
Conflict
application/json
422
Unprocessable Entity
application/json
post
POST /society-subscription HTTP/1.1
Host: api.one-record.fr
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"active": false,
"subscriber": "text",
"subscription": "text"
}
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"subscriber": "text",
"subscription": "text",
"active": false,
"createdAt": null,
"updatedAt": null
}
Last updated