SaveOccupier

POST http://localhost:9090/api/v1/occupier

Request Body

{"occupier_id"=>"OP12345678", "salutation"=>"1", "initial"=>"T", "first_name"=>"POstMan", "middle_name"=>"Man", "last_name"=>"P", "age"=>40, "date_of_birth"=>"1992-02-04", "father_name"=>"Thandapani", "mother_name"=>"Kamalam", "gender"=>"M", "nationality"=>"I", "email_id"=>"ganeshthandapanics@gmail.com", "phone_number"=>"0442356789", "mobile_number"=>"9688441618", "alternate_mobile_number"=>"", "fax"=>"", "aadhar_number"=>"", "din_number"=>"", "are_you_residing_in_present_flat"=>"N", "present_door_no"=>"130", "present_address1"=>"unmai nagar", "present_address2"=>"sakem", "present_village"=>"salem", "present_city"=>2, "present_state"=>128, "present_country"=>1, "present_pincode"=>"636004", "is_permanent_add_same_as_present_add"=>true, "are_you_residing_in_permanent_flat"=>"N", "permanent_door_no"=>"130", "permanent_address1"=>"unmai nagar", "permanent_address2"=>"sakem", "permanent_village"=>"salem", "permanent_city"=>2, "permanent_state"=>128, "permanent_country"=>1, "permanent_pincode"=>"636004", "address_proof"=>"2", "created_at"=>"", "created_by"=>"", "proof_number"=>"3244535345", "user_image"=>"", "photo_identity_proof"=>"1", "photo_identity_proof_number"=>"8787868", "document"=>{"file_ext"=>"png", "name"=>"creative-initial-letter-bb-square-logo-design-vector-36075008.png", "location"=>"upload/2024/08/21/1724236590-YRNY4.png", "message"=>"File has been uploaded successfully!", "type"=>22, "upload_name"=>"1724236590-YRNY4", "status"=>1, "id"=>0}, "document_id"=>0, "passport_issue_country"=>"1", "visa_type"=>1, "passport_number"=>"", "visa_valid_upto"=>"", "present_flat_no"=>"130", "present_block_no"=>"Block A", "present_flat_name"=>"Sunrise Apartments", "permanent_flat_no"=>"130", "permanent_block_no"=>"Block B", "permanent_flat_name"=>"Moonlight Residency", "communication_flat_number"=>"", "communication_flat_name"=>"", "communication_block_name"=>""}

HEADERS

KeyDatatypeRequiredDescription
X-API-KEYstring
Access-Tokenstring