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

# Get INV Header

GET https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader

An example of getting Inventory Header using search criteria.

Reference: https://apidocs.megamation.com/api/inv-header/get-inv-header-get-inv-header

## Authentication

- `Authorization` header (basic auth, required) — Basic authentication of the form `Basic <base64(username:password)>`.
- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Query parameters

- `CLASS` (string, optional)

## Response

### 200

OK

## Examples

**Response**

```json
{
  "_embedded": {
    "Inv Header": [
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00002"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00002",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT000020"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT000020",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00003"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00003",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00030"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00030",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00031"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00031",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00032"
          }
        },
        "class": "BOLT",
        "inv_uom": "BX100",
        "part_no": "BOLT00032",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00033"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00033",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00034"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00034",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00035"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00035",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00036"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00036",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00037"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00037",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00038"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00038",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00039"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00039",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00040"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00040",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00041"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00041",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00042"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00042",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00043"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00043",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00044"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00044",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00046"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00046",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00047"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00047",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00048"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00048",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00049"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00049",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00050"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00050",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00051"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00051",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00052"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00052",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00053"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00053",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00054"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00054",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00055"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00055",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00056"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00056",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00057"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00057",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00058"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00058",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00059"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00059",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00060"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00060",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00061"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00061",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00062"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00062",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00063"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00063",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00064"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00064",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00065"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00065",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00066"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00066",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00067"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00067",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00068"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00068",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00069"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00069",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00074"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00074",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00075"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00075",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00076"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00076",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00077"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00077",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00078"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00078",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00079"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00079",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00106"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00106",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00109"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00109",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00120"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00120",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT00121"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT00121",
        "type": "ST"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT98"
          }
        },
        "class": "BOLT",
        "inv_uom": "EA",
        "part_no": "BOLT98",
        "type": "F"
      },
      {
        "_links": {
          "self": {
            "href": "https://api.megamation.com/mpcdev/dl/INVHeader/BOLT99"
          }
        },
        "class": "BOLT",
        "inv_uom": "BOLT",
        "part_no": "BOLT99",
        "type": "F"
      }
    ]
  },
  "_links": {
    "apiEntryPoint": {
      "href": "https://api.megamation.com/mpcdev/dl"
    },
    "self": {
      "href": "https://api.megamation.com/mpcdev/dl/INVHeader?CLASS=BOLT"
    }
  },
  "cursor": "",
  "has_more": "False",
  "next_page": ""
}
```

**SDK Code**

```python
import requests

url = "https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader"

querystring = {"CLASS":"BOLT"}

response = requests.get(url, params=querystring, auth=("<username>", "<password>"))

print(response.json())
```

```javascript
const url = 'https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader?CLASS=BOLT';
const credentials = btoa("<username>:<password>");

const options = {method: 'GET', headers: {Authorization: `Basic ${credentials}`}};

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"
	"net/http"
	"io"
)

func main() {

	url := "https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader?CLASS=BOLT"

	req, _ := http.NewRequest("GET", url, nil)

	req.SetBasicAuth("<username>", "<password>")

	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.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader?CLASS=BOLT")

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

request = Net::HTTP::Get.new(url)
request.basic_auth("<username>", "<password>")

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.get("https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader?CLASS=BOLT")
  .basicAuth("<username>", "<password>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader?CLASS=BOLT', [
  'headers' => [
  ],
    'auth' => ['<username>', '<password>'],
]);

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

```csharp
using RestSharp;
using RestSharp.Authenticators;

var client = new RestClient("https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader?CLASS=BOLT");
client.Authenticator = new HttpBasicAuthenticator("<username>", "<password>");
var request = new RestRequest(Method.GET);

IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let credentials = Data("<username>:<password>".utf8).base64EncodedString()

let headers = ["Authorization": "Basic \(credentials)"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.megamation.com/CLIENT_ID/DATABASE_ID/INVHeader?CLASS=BOLT")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

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()
```