POST /api/Book/api/book/insert-book

POST /api/Book/api/book/insert-book

Body

  • title string | null
  • description string | null
  • price number(double)
  • publishedDate string(date-time)
  • Additional properties are NOT allowed

Body

  • title string | null
  • description string | null
  • price number(double)
  • publishedDate string(date-time)
  • Additional properties are NOT allowed

Body

  • title string | null
  • description string | null
  • price number(double)
  • publishedDate string(date-time)
  • Additional properties are NOT allowed

Responses

  • Success

    Hide response attributes Show response attributes object
    • title string | null
    • description string | null
    • price number(double)
    • publishedDate string(date-time)
    • Additional properties are NOT allowed
    Hide response attributes Show response attributes object
    • title string | null
    • description string | null
    • price number(double)
    • publishedDate string(date-time)
    • Additional properties are NOT allowed
    Hide response attributes Show response attributes object
    • title string | null
    • description string | null
    • price number(double)
    • publishedDate string(date-time)
    • Additional properties are NOT allowed
  • Bad Request

    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
    Hide response attributes Show response attributes object
    • type string | null
    • title string | null
    • status integer(int32) | null
    • detail string | null
    • instance string | null
    • Additional properties:
POST /api/Book/api/book/insert-book
curl \
 -X POST http://api.example.com/api/Book/api/book/insert-book \
 -H "Content-Type: application/json" \
 -d '{"title":"string","description":"string","price":42.0,"publishedDate":"2024-05-04T09:42:00+00:00"}'
curl \
 -X POST http://api.example.com/api/Book/api/book/insert-book \
 -H "Content-Type: text/json"
curl \
 -X POST http://api.example.com/api/Book/api/book/insert-book \
 -H "Content-Type: application/*+json"
Request example
{
  "title": "string",
  "description": "string",
  "price": 42.0,
  "publishedDate": "2024-05-04T09:42:00+00:00"
}
Request examples
{
  "title": "string",
  "description": "string",
  "price": 42.0,
  "publishedDate": "2025-05-04T09:42:00Z"
}
Request examples
{
  "title": "string",
  "description": "string",
  "price": 42.0,
  "publishedDate": "2025-05-04T09:42:00Z"
}
Response examples (200)
{
  "title": "string",
  "description": "string",
  "price": 42.0,
  "publishedDate": "2024-05-04T09:42:00+00:00"
}
Response examples (200)
{
  "title": "string",
  "description": "string",
  "price": 42.0,
  "publishedDate": "2025-05-04T09:42:00Z"
}
Response examples (400)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}
Response examples (400)
{
  "type": "string",
  "title": "string",
  "status": 42,
  "detail": "string",
  "instance": "string"
}