sangraha
    sangraha
    • 🐶 Walk through Apidog
    • orders_data
      GET
    • login_user
      POST
    • user_registration
      POST
    • make_order
      POST
    • single_order_data
      GET
    • change_order_status
      POST
    • get_order_cart
      GET
    • get_all_societies
      GET
    • add_society_to_business
      POST
    • remove_society_from_business
      POST
    • subscription_status
      GET
    • get_indian_states
      GET
    • get_cities_by_state_id
      GET
    • get_society_member
      GET
    • get_all_society_members
      GET
    • society_register_member
      POST
    • society_edit_member
      POST
    • remove_society_member
      POST
    • society_suggestion
      POST

      society_register_member

      POST
      /api/members/registermember/

      The API endpoint#

      POST api/members/registermember/ is used to register a new member. The request should include the following payload in the raw request body:
      {
          "userid": 0,
          "username": "",
          "useremail": "",
          "useraddress": "",
          "userphone": "",
          "societyid": 0,
          "bizid": 0
      }
      

      Response#

      The response of this request is in the format of a PHP error message with a status code of 200 and Content-Type of text/html. Since the user wants to document the response as a JSON schema, it's important to note that the response is not in JSON format. Therefore, it cannot be represented as a JSON schema.

      Request

      Authorization
      Add parameter in header
      Example:
      X-Token: ********************
      Header Params

      Body Params multipart/form-data

      Request Code Samples

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/api/members/registermember/' \
      --header 'marchant-id: BIZ12354124' \
      --form 'userid="1"' \
      --form 'username="abc_user"' \
      --form 'useremail="user@gmail.com"' \
      --form 'useraddress="flat no. 5, abc socity name, Delhi, India"' \
      --form 'userphone="9999999999"' \
      --form 'societyid="1"' \
      --form 'bizid="1"'

      Responses

      🟢200Success
      application/json
      Body

      Example
      {}
      Modified at 2024-10-17 16:02:45
      Previous
      get_all_society_members
      Next
      society_edit_member
      Built with