POST /api/Admin/create

POST /api/Admin/create

Body

  • firstName string | null
  • lastName string | null
  • city string | null
  • governorate string | null
  • gender boolean
  • phoneNumber string | null
  • password string | null
  • Additional properties are NOT allowed

Responses

  • 200

    Success

  • 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
    • key null
curl \
 --request POST 'http://mamaguide.runasp.net/api/Admin/create' \
 --header "Content-Type: application/json" \
 --data '{"firstName":"string","lastName":"string","city":"string","governorate":"string","gender":true,"phoneNumber":"string","password":"string"}'
curl \
 --request POST 'http://mamaguide.runasp.net/api/Admin/create' \
 --header "Content-Type: text/json"
curl \
 --request POST 'http://mamaguide.runasp.net/api/Admin/create' \
 --header "Content-Type: application/*+json"
Request examples
{
  "firstName": "string",
  "lastName": "string",
  "city": "string",
  "governorate": "string",
  "gender": true,
  "phoneNumber": "string",
  "password": "string"
}