member-classes

add a new member class

Changed on
<h3>CS Administrator adds a new member class.</h3> <p>The member class will be validated and if the validation fails a validation error is returned.</p>
post/member-classes

Request

  • Base URL: /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/member-classes
  • Auth: API key in header Authorization

Request body

descriptionstring text required

member class description

Example request

{
  "description": "Non-profit organisations"
}

Response

the added member class

descriptionstring text required

member class description

Example response

{
  "description": "Non-profit organisations"
}

Changes

    • ▲

      added the pattern ^[a-zA-Z0-9-_,.;:!? ]*$ to the request property ////

    • ○

      the //// response's property pattern ^[a-zA-Z0-9-_,.;:!? ]*$ was added for the status

    • ○

      removed the pattern ^\s*((?!\s*(?:\.$|\./|\.\.$|\.\./))((?!/\.\s*$|/\./|/\.\.\s*$|/\.\./)[^\\\u0000-\u001F\u007F-\u009F\u200B\uFEFF])*)?$ from the request property

    • ○

      the response's property pattern ^\s*((?!\s*(?:\.$|\./|\.\.$|\.\./))((?!/\.\s*$|/\./|/\.\.\s*$|/\.\./)[^\\\u0000-\u001F\u007F-\u009F\u200B\uFEFF])*)?$ was removed for the status