Skip to main content

Get Interchange Date

Parse and return the date from a raw ISA interchange header string.

Endpoint

POST /v2/interchanges/get-date

Request Body

FieldTypeRequiredConstraintsDescription
interchangeHeaderstringYesMust be a valid ISA segment stringRaw ISA header string to parse the interchange date from.
{
"interchangeHeader": "ISA*00* *00* *ZZ*ACMECORP *ZZ*BUYERINC *260501*1030*^*00501*000000001*0*P*>"
}

Response

Returns the interchange date extracted from the ISA header as a datetime value.

{
"success": true,
"data": "2026-05-01T10:30:00Z"
}

Code Examples

curl -X POST "https://rest.ecgrid.io/v2/interchanges/get-date" \
-H "X-API-Key: $ECGRID_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "interchangeHeader": "ISA*00* *00* *ZZ*ACMECORP *ZZ*BUYERINC *260501*1030*^*00501*000000001*0*P*>" }'

See Also