> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.propexo.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.propexo.com/_mcp/server.

# Update Application: ResMan

PUT https://api.propexo.com/v1/applications/resman/{application_id}
Content-Type: application/json

Update Application: ResMan. Note: When reading in the updated application we cannot filter by the application_id, so we must pull in all residents and applicants to save the newly updated application.This may result in an increase in the total number of records processed

| Interface | Method |
|---|---|
| Lead Management | /MITS/PostLeadManagement4_0 |
| Lease Application | /MITS/PostLeaseApplication3_0 |

Reference: https://docs.propexo.com/api-reference/resman/applications/update-application-res-man

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Servers

- `https://api.propexo.com` (Production, default)
- `https://api.sandbox.propexo.com` (Sandbox)

## Request

### Path parameters

- `application_id` (string, required) — The ID of the resource.

### Body (application/json)

This endpoint expects a _v1_applications_resman_{application_id}_put_input.

- `applicant_id` (string, required) — The Propexo unique identifier for the applicant
- `unit_id` (string, required) — The Propexo unique identifier for the unit
- `lead_source_id` (string, required) — The Propexo unique identifier for the lead source
- `employee_id` (string, required) — The Propexo unique identifier for the employee
- `application_date` (V1ApplicationsResmanApplicationIdPutInputApplicationDate, required) — The application date associated with the applicant
- `start_date` (V1ApplicationsResmanApplicationIdPutInputStartDate, required) — The start date associated with the lease
- `end_date` (V1ApplicationsResmanApplicationIdPutInputEndDate, required) — The end date associated with the lease
- `status` (enum, required) — The status associated with the application
  - Allowed values: `PENDING`, `APPROVED`, `CANCELED`, `DENIED`, `SIGNED`
- `first_name` (string, required) — The first name associated with the applicant
- `last_name` (string, required) — The last name associated with the applicant
- `email_1` (string, optional) — The primary email address associated with the applicant
- `phone_1` (string, optional) — Primary phone number associated with the applicant
- `phone_1_type` (enum, optional) — Type of the primary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `phone_2` (string, optional) — Secondary phone number associated with the applicant
- `phone_2_type` (enum, optional) — Type of the secondary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `date_of_birth` (V1ApplicationsResmanApplicationIdPutInputDateOfBirth, optional) — The date of birth associated with the applicant
- `address_1` (string, optional) — The first address line associated with the applicant
- `address_2` (string, optional) — The second address line associated with the applicant
- `city` (string, optional) — The city associated with the applicant
- `state` (string, optional) — The state associated with the applicant
- `zip` (string, optional) — The zip code associated with the applicant
- `notes` (string, optional) — Notes associated with the applicant
- `move_in_date` (V1ApplicationsResmanApplicationIdPutInputMoveInDate, optional) — The move-in date associated with the applicant
- `rent_amount_in_cents` (integer, optional) — The rent amount in cents for the applicant
- `desired_lease_term_in_months` (double, optional) — The amount of months for the lease term
- `floor_plan_id` (string, optional) — The Propexo unique identifier for the floor plan
- `other_occupants` (list of V1ApplicationsResmanApplicationIdPutInputOtherOccupantsItems, optional) — A list of other occupants for the application. Note: Only new occupants should be passed in, existing occupants cannot be updated
- `emergency_contacts` (list of V1ApplicationsResmanApplicationIdPutInputEmergencyContactsItems, optional) — A list of emergency contacts for the applicant. Note: This will only be added to the primary applicant on the application.
- `employment_history` (list of V1ApplicationsResmanApplicationIdPutInputEmploymentHistoryItems, optional) — The employment history of the applicant. Note: This will only be added to the primary applicant on the application. Only entries with both income_in_cents and frequency will be included.
- `vehicles` (list of V1ApplicationsResmanApplicationIdPutInputVehiclesItems, optional) — A list of vehicles for the application
- `pets` (list of V1ApplicationsResmanApplicationIdPutInputPetsItems, optional) — A list of applicant pets

## Response

### 200

Successful response

- `meta` (V1ApplicationsResmanApplicationIdPutOutputMeta, required)
- `result` (V1ApplicationsResmanApplicationIdPutOutputResult, required)

## Errors

### 400 Bad Request Error

Bad Request

- `error` (ErrorResponseError, required)

## Types

### V1ApplicationsResmanApplicationIdPutInputApplicationDate

The application date associated with the applicant

### V1ApplicationsResmanApplicationIdPutInputStartDate

The start date associated with the lease

### V1ApplicationsResmanApplicationIdPutInputEndDate

The end date associated with the lease

### V1ApplicationsResmanApplicationIdPutInputDateOfBirth

The date of birth associated with the applicant

### V1ApplicationsResmanApplicationIdPutInputMoveInDate

The move-in date associated with the applicant

### V1ApplicationsResmanApplicationIdPutInputOtherOccupantsItems

- `first_name` (string, required) — The first name associated with the occupant
- `last_name` (string, required) — The last name associated with the occupant
- `email_1` (string, optional) — The primary email address associated with the occupant
- `phone_1` (string, optional) — Primary phone number associated with the occupant
- `phone_1_type` (enum, optional) — Type of the primary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `phone_2` (string, optional) — Secondary phone number associated with the occupant
- `phone_2_type` (enum, optional) — Type of the secondary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `address_1` (string, optional) — The first address line associated with the occupant
- `address_2` (string, optional) — The second address line associated with the occupant
- `city` (string, optional) — The city associated with the occupant
- `state` (string, optional) — The state associated with the occupant
- `zip` (string, optional) — The zip code associated with the occupant
- `date_of_birth` (V1ApplicationsResmanApplicationIdPutInputOtherOccupantsItemsDateOfBirth, optional) — The date of birth associated with the occupant
- `move_in_date` (V1ApplicationsResmanApplicationIdPutInputOtherOccupantsItemsMoveInDate, optional) — The move-in date associated with the lease
- `rent_amount_in_cents` (integer, optional) — The market rent amount in cents for the lease

### V1ApplicationsResmanApplicationIdPutInputEmergencyContactsItems

- `first_name` (string, required) — The first name of the emergency contact
- `last_name` (string, required) — The last name of the emergency contact
- `relationship` (string, required) — The relationship of the emergency contact to the applicant
- `address_1` (string, optional) — The first line of the address of the emergency contact
- `city` (string, optional) — The city of the address of the emergency contact
- `state` (string, optional) — The state of the address of the emergency contact
- `zip` (string, optional) — The zip code of the address of the emergency contact
- `country` (string, optional) — The country of the address of the emergency contact
- `phone_1` (string, optional) — The phone number of the emergency contact

### V1ApplicationsResmanApplicationIdPutInputEmploymentHistoryItems

- `name` (string, required) — The name of the employer
- `income_in_cents` (integer, required) — The income of the applicant at this employer in cents
- `frequency` (enum, required) — The frequency of the income.
  - Allowed values: `WEEKLY`, `BI_WEEKLY`, `SEMI_MONTHLY`, `MONTHLY`, `YEARLY`
- `start_date` (V1ApplicationsResmanApplicationIdPutInputEmploymentHistoryItemsStartDate, required) — The start date of the applicant's employment at this employer
- `end_date` (V1ApplicationsResmanApplicationIdPutInputEmploymentHistoryItemsEndDate, optional) — The end date of the applicant's employment at this employer
- `position` (string, optional) — The position held at this employer, or the job description of the applicant
- `address_1` (string, optional) — The first line of the address of the employer
- `city` (string, optional) — The city of the address of the employer
- `state` (string, optional) — The state of the address of the employer
- `zip` (string, optional) — The zip code of the address of the employer
- `country` (string, optional) — The country of the address of the employer
- `supervisor_first_name` (string, optional) — The first name of the applicant's supervisor at this employer
- `supervisor_last_name` (string, optional) — The last name of the applicant's supervisor at this employer
- `supervisor_phone` (string, optional) — The phone number of the applicant's supervisor

### V1ApplicationsResmanApplicationIdPutInputVehiclesItems

- `make` (string, required) — The make of the vehicle
- `model` (string, required) — The model of the vehicle
- `color` (string, required) — The color of the vehicle
- `license_plate_number` (string, required) — The license plate number of the vehicle
- `license_plate_state` (string, required) — The issuing state of the license plate
- `permit_number` (string, optional) — The permit number of the vehicle

### V1ApplicationsResmanApplicationIdPutInputPetsItems

- `type` (string, required) — The type associated with the applicant pet. Note: This must match one of the pet types from the pick list in Resman
- `name` (string, required) — The name associated with the applicant pet
- `weight_in_pounds` (integer, required) — The weight in pounds of the applicant pet

### V1ApplicationsResmanApplicationIdPutOutputMeta

- `job_id` (string, required)

### V1ApplicationsResmanApplicationIdPutOutputResult

- `application_id` (string, required) — The Propexo unique identifier for the application
- `applicant_id` (string, required) — The Propexo unique identifier for the applicant
- `unit_id` (string, required) — The Propexo unique identifier for the unit
- `lead_source_id` (string, required) — The Propexo unique identifier for the lead source
- `employee_id` (string, required) — The Propexo unique identifier for the employee
- `application_date` (V1ApplicationsResmanApplicationIdPutOutputResultApplicationDate, required) — The application date associated with the applicant
- `start_date` (V1ApplicationsResmanApplicationIdPutOutputResultStartDate, required) — The start date associated with the lease
- `end_date` (V1ApplicationsResmanApplicationIdPutOutputResultEndDate, required) — The end date associated with the lease
- `status` (enum, required) — The status associated with the application
  - Allowed values: `PENDING`, `APPROVED`, `CANCELED`, `DENIED`, `SIGNED`
- `first_name` (string, required) — The first name associated with the applicant
- `last_name` (string, required) — The last name associated with the applicant
- `email_1` (string, optional) — The primary email address associated with the applicant
- `phone_1` (string, optional) — Primary phone number associated with the applicant
- `phone_1_type` (enum, optional) — Type of the primary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `phone_2` (string, optional) — Secondary phone number associated with the applicant
- `phone_2_type` (enum, optional) — Type of the secondary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `date_of_birth` (V1ApplicationsResmanApplicationIdPutOutputResultDateOfBirth, optional) — The date of birth associated with the applicant
- `address_1` (string, optional) — The first address line associated with the applicant
- `address_2` (string, optional) — The second address line associated with the applicant
- `city` (string, optional) — The city associated with the applicant
- `state` (string, optional) — The state associated with the applicant
- `zip` (string, optional) — The zip code associated with the applicant
- `notes` (string, optional) — Notes associated with the applicant
- `move_in_date` (V1ApplicationsResmanApplicationIdPutOutputResultMoveInDate, optional) — The move-in date associated with the applicant
- `rent_amount_in_cents` (integer, optional) — The rent amount in cents for the applicant
- `desired_lease_term_in_months` (double, optional) — The amount of months for the lease term
- `floor_plan_id` (string, optional) — The Propexo unique identifier for the floor plan
- `other_occupants` (list of V1ApplicationsResmanApplicationIdPutOutputResultOtherOccupantsItems, optional)
- `emergency_contacts` (list of V1ApplicationsResmanApplicationIdPutOutputResultEmergencyContactsItems, optional) — A list of emergency contacts for the applicant. Note: This will only be added to the primary applicant on the application.
- `employment_history` (list of V1ApplicationsResmanApplicationIdPutOutputResultEmploymentHistoryItems, optional) — The employment history of the applicant. Note: This will only be added to the primary applicant on the application. Only entries with both income_in_cents and frequency will be included.
- `vehicles` (list of V1ApplicationsResmanApplicationIdPutOutputResultVehiclesItems, optional) — A list of vehicles for the application
- `pets` (list of V1ApplicationsResmanApplicationIdPutOutputResultPetsItems, optional) — A list of applicant pets

### ErrorResponseError

- `code` (string, required)
- `message` (string, required)
- `details` (map from string to any, optional)

### V1ApplicationsResmanApplicationIdPutInputOtherOccupantsItemsDateOfBirth

The date of birth associated with the occupant

### V1ApplicationsResmanApplicationIdPutInputOtherOccupantsItemsMoveInDate

The move-in date associated with the lease

### V1ApplicationsResmanApplicationIdPutInputEmploymentHistoryItemsStartDate

The start date of the applicant's employment at this employer

### V1ApplicationsResmanApplicationIdPutInputEmploymentHistoryItemsEndDate

The end date of the applicant's employment at this employer

### V1ApplicationsResmanApplicationIdPutOutputResultApplicationDate

The application date associated with the applicant

### V1ApplicationsResmanApplicationIdPutOutputResultStartDate

The start date associated with the lease

### V1ApplicationsResmanApplicationIdPutOutputResultEndDate

The end date associated with the lease

### V1ApplicationsResmanApplicationIdPutOutputResultDateOfBirth

The date of birth associated with the applicant

### V1ApplicationsResmanApplicationIdPutOutputResultMoveInDate

The move-in date associated with the applicant

### V1ApplicationsResmanApplicationIdPutOutputResultOtherOccupantsItems

- `first_name` (string, required) — The first name associated with the occupant
- `last_name` (string, required) — The last name associated with the occupant
- `email_1` (string, optional) — The primary email address associated with the occupant
- `phone_1` (string, optional) — Primary phone number associated with the occupant
- `phone_1_type` (enum, optional) — Type of the primary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `phone_2` (string, optional) — Secondary phone number associated with the occupant
- `phone_2_type` (enum, optional) — Type of the secondary phone number
  - Allowed values: `FAX`, `HOME`, `MOBILE`, `WORK`
- `address_1` (string, optional) — The first address line associated with the occupant
- `address_2` (string, optional) — The second address line associated with the occupant
- `city` (string, optional) — The city associated with the occupant
- `state` (string, optional) — The state associated with the occupant
- `zip` (string, optional) — The zip code associated with the occupant
- `date_of_birth` (V1ApplicationsResmanApplicationIdPutOutputResultOtherOccupantsItemsDateOfBirth, optional) — The date of birth associated with the occupant
- `move_in_date` (V1ApplicationsResmanApplicationIdPutOutputResultOtherOccupantsItemsMoveInDate, optional) — The move-in date associated with the lease
- `rent_amount_in_cents` (integer, optional) — The market rent amount in cents for the lease

### V1ApplicationsResmanApplicationIdPutOutputResultEmergencyContactsItems

- `first_name` (string, required) — The first name of the emergency contact
- `last_name` (string, required) — The last name of the emergency contact
- `relationship` (string, required) — The relationship of the emergency contact to the applicant
- `address_1` (string, optional) — The first line of the address of the emergency contact
- `city` (string, optional) — The city of the address of the emergency contact
- `state` (string, optional) — The state of the address of the emergency contact
- `zip` (string, optional) — The zip code of the address of the emergency contact
- `country` (string, optional) — The country of the address of the emergency contact
- `phone_1` (string, optional) — The phone number of the emergency contact

### V1ApplicationsResmanApplicationIdPutOutputResultEmploymentHistoryItems

- `name` (string, required) — The name of the employer
- `income_in_cents` (integer, required) — The income of the applicant at this employer in cents
- `frequency` (enum, required) — The frequency of the income.
  - Allowed values: `WEEKLY`, `BI_WEEKLY`, `SEMI_MONTHLY`, `MONTHLY`, `YEARLY`
- `start_date` (V1ApplicationsResmanApplicationIdPutOutputResultEmploymentHistoryItemsStartDate, required) — The start date of the applicant's employment at this employer
- `end_date` (V1ApplicationsResmanApplicationIdPutOutputResultEmploymentHistoryItemsEndDate, optional) — The end date of the applicant's employment at this employer
- `position` (string, optional) — The position held at this employer, or the job description of the applicant
- `address_1` (string, optional) — The first line of the address of the employer
- `city` (string, optional) — The city of the address of the employer
- `state` (string, optional) — The state of the address of the employer
- `zip` (string, optional) — The zip code of the address of the employer
- `country` (string, optional) — The country of the address of the employer
- `supervisor_first_name` (string, optional) — The first name of the applicant's supervisor at this employer
- `supervisor_last_name` (string, optional) — The last name of the applicant's supervisor at this employer
- `supervisor_phone` (string, optional) — The phone number of the applicant's supervisor

### V1ApplicationsResmanApplicationIdPutOutputResultVehiclesItems

- `make` (string, required) — The make of the vehicle
- `model` (string, required) — The model of the vehicle
- `color` (string, required) — The color of the vehicle
- `license_plate_number` (string, required) — The license plate number of the vehicle
- `license_plate_state` (string, required) — The issuing state of the license plate
- `permit_number` (string, optional) — The permit number of the vehicle

### V1ApplicationsResmanApplicationIdPutOutputResultPetsItems

- `type` (string, required) — The type associated with the applicant pet. Note: This must match one of the pet types from the pick list in Resman
- `name` (string, required) — The name associated with the applicant pet
- `weight_in_pounds` (integer, required) — The weight in pounds of the applicant pet

### V1ApplicationsResmanApplicationIdPutOutputResultOtherOccupantsItemsDateOfBirth

The date of birth associated with the occupant

### V1ApplicationsResmanApplicationIdPutOutputResultOtherOccupantsItemsMoveInDate

The move-in date associated with the lease

### V1ApplicationsResmanApplicationIdPutOutputResultEmploymentHistoryItemsStartDate

The start date of the applicant's employment at this employer

### V1ApplicationsResmanApplicationIdPutOutputResultEmploymentHistoryItemsEndDate

The end date of the applicant's employment at this employer

## Examples

**Request**

```json
{
  "applicant_id": "applicant-12345",
  "unit_id": "unit-67890",
  "lead_source_id": "leadsource-54321",
  "employee_id": "employee-98765",
  "application_date": "2024-01-15T09:30:00Z",
  "start_date": "2024-02-01",
  "end_date": "2025-01-31",
  "status": "PENDING",
  "first_name": "John",
  "last_name": "Doe"
}
```

**Response**

```json
{
  "meta": {
    "job_id": "job-abc123xyz"
  },
  "result": {
    "application_id": "application-112233",
    "applicant_id": "applicant-12345",
    "unit_id": "unit-67890",
    "lead_source_id": "leadsource-54321",
    "employee_id": "employee-98765",
    "application_date": "2024-01-15T09:30:00Z",
    "start_date": "2024-02-01",
    "end_date": "2025-01-31",
    "status": "PENDING",
    "first_name": "John",
    "last_name": "Doe",
    "email_1": "john.doe@example.com",
    "phone_1": "+1-555-123-4567",
    "phone_1_type": "MOBILE",
    "phone_2": "+1-555-765-4321",
    "phone_2_type": "HOME",
    "date_of_birth": "1990-06-15",
    "address_1": "123 Maple Street",
    "address_2": "Apt 4B",
    "city": "Springfield",
    "state": "IL",
    "zip": "62704",
    "notes": "Applicant prefers a unit with a balcony.",
    "move_in_date": "2024-02-01",
    "rent_amount_in_cents": 120000,
    "desired_lease_term_in_months": 12,
    "floor_plan_id": "floorplan-556677",
    "other_occupants": [
      {
        "first_name": "Jane",
        "last_name": "Doe",
        "email_1": "jane.doe@example.com",
        "phone_1": "+1-555-234-5678",
        "phone_1_type": "MOBILE",
        "phone_2": "+1-555-876-5432",
        "phone_2_type": "WORK",
        "address_1": "123 Maple Street",
        "address_2": "Apt 4B",
        "city": "Springfield",
        "state": "IL",
        "zip": "62704",
        "date_of_birth": "1992-08-20",
        "move_in_date": "2024-02-01",
        "rent_amount_in_cents": 60000
      }
    ],
    "emergency_contacts": [
      {
        "first_name": "Mary",
        "last_name": "Smith",
        "relationship": "Sister",
        "address_1": "456 Oak Avenue",
        "city": "Springfield",
        "state": "IL",
        "zip": "62705",
        "country": "USA",
        "phone_1": "+1-555-345-6789"
      }
    ],
    "employment_history": [
      {
        "name": "Acme Corp",
        "income_in_cents": 5500000,
        "frequency": "MONTHLY",
        "start_date": "2018-05-01",
        "end_date": "2024-01-01",
        "position": "Software Engineer",
        "address_1": "789 Industrial Road",
        "city": "Springfield",
        "state": "IL",
        "zip": "62706",
        "country": "USA",
        "supervisor_first_name": "Alice",
        "supervisor_last_name": "Johnson",
        "supervisor_phone": "+1-555-456-7890"
      }
    ],
    "vehicles": [
      {
        "make": "Toyota",
        "model": "Camry",
        "color": "Blue",
        "license_plate_number": "ABC1234",
        "license_plate_state": "IL",
        "permit_number": "P-987654"
      }
    ],
    "pets": [
      {
        "type": "Dog",
        "name": "Buddy",
        "weight_in_pounds": 45
      }
    ]
  }
}
```

**SDK Code**

```python
import requests

url = "https://api.propexo.com/v1/applications/resman/application_id"

payload = {
    "applicant_id": "applicant-12345",
    "unit_id": "unit-67890",
    "lead_source_id": "leadsource-54321",
    "employee_id": "employee-98765",
    "application_date": "2024-01-15T09:30:00Z",
    "start_date": "2024-02-01",
    "end_date": "2025-01-31",
    "status": "PENDING",
    "first_name": "John",
    "last_name": "Doe"
}
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.put(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.propexo.com/v1/applications/resman/application_id';
const options = {
  method: 'PUT',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"applicant_id":"applicant-12345","unit_id":"unit-67890","lead_source_id":"leadsource-54321","employee_id":"employee-98765","application_date":"2024-01-15T09:30:00Z","start_date":"2024-02-01","end_date":"2025-01-31","status":"PENDING","first_name":"John","last_name":"Doe"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.propexo.com/v1/applications/resman/application_id"

	payload := strings.NewReader("{\n  \"applicant_id\": \"applicant-12345\",\n  \"unit_id\": \"unit-67890\",\n  \"lead_source_id\": \"leadsource-54321\",\n  \"employee_id\": \"employee-98765\",\n  \"application_date\": \"2024-01-15T09:30:00Z\",\n  \"start_date\": \"2024-02-01\",\n  \"end_date\": \"2025-01-31\",\n  \"status\": \"PENDING\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\"\n}")

	req, _ := http.NewRequest("PUT", url, payload)

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.propexo.com/v1/applications/resman/application_id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"applicant_id\": \"applicant-12345\",\n  \"unit_id\": \"unit-67890\",\n  \"lead_source_id\": \"leadsource-54321\",\n  \"employee_id\": \"employee-98765\",\n  \"application_date\": \"2024-01-15T09:30:00Z\",\n  \"start_date\": \"2024-02-01\",\n  \"end_date\": \"2025-01-31\",\n  \"status\": \"PENDING\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\"\n}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.put("https://api.propexo.com/v1/applications/resman/application_id")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"applicant_id\": \"applicant-12345\",\n  \"unit_id\": \"unit-67890\",\n  \"lead_source_id\": \"leadsource-54321\",\n  \"employee_id\": \"employee-98765\",\n  \"application_date\": \"2024-01-15T09:30:00Z\",\n  \"start_date\": \"2024-02-01\",\n  \"end_date\": \"2025-01-31\",\n  \"status\": \"PENDING\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\"\n}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('PUT', 'https://api.propexo.com/v1/applications/resman/application_id', [
  'body' => '{
  "applicant_id": "applicant-12345",
  "unit_id": "unit-67890",
  "lead_source_id": "leadsource-54321",
  "employee_id": "employee-98765",
  "application_date": "2024-01-15T09:30:00Z",
  "start_date": "2024-02-01",
  "end_date": "2025-01-31",
  "status": "PENDING",
  "first_name": "John",
  "last_name": "Doe"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.propexo.com/v1/applications/resman/application_id");
var request = new RestRequest(Method.PUT);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"applicant_id\": \"applicant-12345\",\n  \"unit_id\": \"unit-67890\",\n  \"lead_source_id\": \"leadsource-54321\",\n  \"employee_id\": \"employee-98765\",\n  \"application_date\": \"2024-01-15T09:30:00Z\",\n  \"start_date\": \"2024-02-01\",\n  \"end_date\": \"2025-01-31\",\n  \"status\": \"PENDING\",\n  \"first_name\": \"John\",\n  \"last_name\": \"Doe\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [
  "applicant_id": "applicant-12345",
  "unit_id": "unit-67890",
  "lead_source_id": "leadsource-54321",
  "employee_id": "employee-98765",
  "application_date": "2024-01-15T09:30:00Z",
  "start_date": "2024-02-01",
  "end_date": "2025-01-31",
  "status": "PENDING",
  "first_name": "John",
  "last_name": "Doe"
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.propexo.com/v1/applications/resman/application_id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PUT"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```