> For the complete documentation index, see [llms.txt](https://docs.libum.io/nexum/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.libum.io/nexum/resources/nil-field-support.md).

# Nil Field Support

To send a nil value to SymXchange, use the exact JSON marker `{"nxNil": true}` as the field value. NexumAPI sends this marker as `xsi:nil="true"` in the SOAP request. This is different from leaving the field out of the request.

JSON `null` is not a nil marker. It keeps its normal behavior as an omitted optional field.

## Example: Set a Loan Close Date to Nil

This [updateLoanByID](/nexum/symxchange/api-reference/v2022.01/accountservice/loan/updateloan.md) request sends a nil value for a loan's `CloseDate` field.

```json
{
  "Credentials": {
    "AdministrativeCredentials": {
      "Password": "suwn37834b91&"
    }
  },
  "AccountNumber": "0000017369",
  "LoanId": "L001",
  "LoanUpdatableFields": {
    "CloseDate": { "nxNil": true }
  }
}
```

Use `{"nxNil": true}` only for optional fields that the operation accepts as nil. The marker must contain exactly the `nxNil` property set to `true`. Required fields, credentials, and fields that do not support nil values must still be supplied with a value of the documented type.

For update operations, the effect of a nil field is determined by the underlying SymXchange operation and field. Omitting a field continues to use the operation's normal behavior for an unspecified field.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.libum.io/nexum/resources/nil-field-support.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
