POST api/station/register
Request Information
URI Parameters
None.
Body Parameters
StationCredentialModel| Name | Description | Type | Additional information |
|---|---|---|---|
| StationType | StationType |
None. |
|
| FootPrint | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StationType": 0,
"FootPrint": "sample string 1"
}
application/xml, text/xml
Sample:
<StationCredentialModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Iot.Domain.Models.Credential"> <FootPrint>sample string 1</FootPrint> <StationType>WeighStation</StationType> </StationCredentialModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
StationSessionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SessionToken | string |
None. |
|
| StationId | integer |
None. |
|
| CreatedTimestampGmt | date |
None. |
|
| ExpiryTimestampGmt | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"SessionToken": "sample string 1",
"StationId": 2,
"CreatedTimestampGmt": "2026-01-10T03:25:33.2073829+02:00",
"ExpiryTimestampGmt": "2026-01-10T03:25:33.2073829+02:00"
}
application/xml, text/xml
Sample:
<StationSessionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Iot.Domain.Models.Session"> <CreatedTimestampGmt>2026-01-10T03:25:33.2073829+02:00</CreatedTimestampGmt> <ExpiryTimestampGmt>2026-01-10T03:25:33.2073829+02:00</ExpiryTimestampGmt> <SessionToken>sample string 1</SessionToken> <StationId>2</StationId> </StationSessionModel>