AS2 Stations
An AS2Station is a remote AS2 server that can send data into Files.com and receive data from Files.com.
List AS2 Stations
SDK Method
as2station.List()
Return Object
[]*As2Station
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
Additional Arguments
Show AS2 Station
SDK Method
as2station.Find()
Return Object
As2Station
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
As2StationFindParams Fields
| Field | Description |
|---|---|
| Id int64 Required | As2 Station ID. |
Create AS2 Station
SDK Method
as2station.Create()
Return Object
As2Station
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
As2StationCreateParams Fields
| Field | Default | Description |
|---|---|---|
| Name string Required | The station's formal AS2 name. | |
| WorkspaceId int64 | 0 | ID of the Workspace associated with this AS2 Station. |
| PublicCertificate string Required | ||
| PrivateKey string Required | ||
| PrivateKeyPassword string |
Update AS2 Station
SDK Method
as2station.Update()
Return Object
As2Station
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
As2StationUpdateParams Fields
| Field | Description |
|---|---|
| Id int64 Required | As2 Station ID. |
| Name string | The station's formal AS2 name. |
| PublicCertificate string | |
| PrivateKey string | |
| PrivateKeyPassword string |
Delete AS2 Station
SDK Method
as2station.Delete()
Return Object
No return value.
Authorization Requirement
Requires either a Site-Wide API key or User API key or session from a User with Site Admin permissions.
As2StationDeleteParams Fields
| Field | Description |
|---|---|
| Id int64 Required | As2 Station ID. |
The As2Station Object
Some of the methods above return a As2Station object. The attributes of this object are listed below.
| Attribute | Description |
|---|---|
| Id int64 | Id of the AS2 Station. |
| WorkspaceId int64 | ID of the Workspace associated with this AS2 Station. |
| Name string | The station's formal AS2 name. |
| Uri string | Public URI for sending AS2 message to. |
| Domain string | The station's AS2 domain name. |
| HexPublicCertificateSerial string | Serial of public certificate used for message security in hex format. |
| PublicCertificateMd5 string | MD5 hash of public certificate used for message security. |
| PublicCertificate string | Public certificate used for message security. |
| PrivateKeyMd5 string | MD5 hash of private key used for message security. |
| PublicCertificateSubject string | Subject of public certificate used for message security. |
| PublicCertificateIssuer string | Issuer of public certificate used for message security. |
| PublicCertificateSerial string | Serial of public certificate used for message security. |
| PublicCertificateNotBefore string | Not before value of public certificate used for message security. |
| PublicCertificateNotAfter string | Not after value of public certificate used for message security. |
| PrivateKeyPasswordMd5 string | MD5 hash of private key password used for message security. |