Skip to end of banner
Go to start of banner

AIWS_CU_Competence

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 18 Next »

The new AUS service no longer requires the Authentication_Token. This means that calling GNL_API_AUTHENTICATION is no longer required.

Connection

URL: http://yourdomain.com/AUS/AdonisUploadService.svc/v1/AIWS_CU_Competence

The above URL is composed of yourdomain + AUS + AdonisUploadService.svc + Version + API method

APIKey must be included in the header

Example Value in JSON

 Please expand
{
  "request": {
    "Interface": "SHIPADMIN",
    "ExternalPin": "SA-898",
    "ExternalDocID": "COMP-0005",
    "ExternalDocType": "A-GT",
    "ExternalDocCode": "SCAN",
    "DateFrom": "2020-01-25",
    "DateTo": "2025-01-25",
    "ExpiryDate": "2025-01-25",
    "IssueBy": "Maritime School",
    "IssuePlace": "Vegas",
    "ValidInCountry": "AU",
    "DocumentNo": "AC-625VD",
    "DocumentScanBase64": "",
    "DocumentFileName": "",
    "Comments": ""
  }
}

 

Fields Definition

Name

Format

Mandatory

Version

Example

APM XREF

Description

Interface

string

Y

V1

companyname_import

Identified in APM > Setup > General Codes > Miscellaneous > Interfaces

Adonis generated interface name

ExternalPIN

string

Y

V1

AAA-9999999

Automatically mapped with the Adonis PIN.

This is the UID/PIN of the seaman inside your company/organization.

ExternalDocID

string

Y

V1

AAA-9999999

Automatically mapped with the Adonis DOCID

This is the UID of the record

ExternalDocType

string

Y

V1

FAM-SFBF

Identified in APM > Setup > General Codes > Competence > Competence Codes

Code to identify the type of competence / training or certificate

ExternalDocCode

string

V1

SCAN

Identified in APM > Setup > General Codes > Enclosed Document > Enclosed Document Codes

Code to identify the enclosed document type in APM

DocumentNo

string

Y

V1

SWJXLYM732727

Document / certificate number

DateFrom

YYYY-MM-DD

Y

V1

2022-08-16

Date from the certificate is valid

DateTo

YYYY-MM-DD

V1

2025-08-15

Date the certificate is ending

ExpiryDate

YYYY-MM-DD

Y

V1

2025-08-15

Date the certificate is expired.

If DateTo is Not Null AND ExpiryDate is Null then copy the DateTo to ExpiryDate.

IssueBy

string

V1

BERGENSFJORD

School, training center etc. who issued the competence

IssuePlace

string

V1

BERGEN

Place of issue

ValidInCountry

2 letters

V1

NO

Country where the competence was issued

DocumentScanBase64

base64

V1

 URI Format only

"data:text/plain;base64,UkVDUlVJVEVSU0VSVklDRVMgQVVESVQgQ09ERVMgU0hPVUxEIEJFIFNUQVJUIFdJVEggMToNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQoNCkpPQlNFRUtFUlNFUlZJQ0VTIEFVRElUIENPREVTIFNIT1VMRCBCRSBTVEFSVCBXSVRIIDUwMToNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCg0KDQpFTVBMT1lFUlNFUlZJQ0VTIENPREVTIFNIT1VMRCBTVEFSVCBXSVRIIDEwMDE6DQo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQoNCglGb3Jnb3RfcGFzc3dvcmRfcmVxdWVzdCA9IDEwMDEsDQogICAgICAgIFVwZGF0ZV9wYXNzd29yZCwNCiAgICAgICAgTG9nZ2VkX2luLA0KICAgICAgICBMb2dnZWRfb3V0DQoJVXNlcl9hZGRlZCwNCiAgICAgICAgVXNlcl91cGRhdGVkLA0KICAgICAgICBVc2VyX3JlbW92ZWQsDQogICAgICAgIFVzZXJfYWN0aXZhdGVkLA0KICAgICAgICBVc2VyX2RlYWN0aXZhdGVkLA0KICAgICAgICBTZXR0aW5nc191cGRhdGVkLA0KCVNlbmROb3RpZmljYXRpb25zX2luc2VydGVkLA0KCUVtcGxveWVyX2FkZGVkLA0KICAgICAgICBFbXBsb3llcl91cGRhdGVkLA0KICAgICAgICBFbXBsb3llcl9yZW1vdmVkLA0KICAgICAgICBFbXBsb3llcl9hY3RpdmF0ZWQsDQogICAgICAgIEVtcGxveWVyX2RlYWN0aXZhdGVkLA0KCVByZWZlcmVuY2VzX0FkZGVkLA0KICAgICAgICBQcmVmZXJlbmNlc191cGRhdGVkLA0KICAgICAgICBQcmVmZXJlbmNlc19yZW1vdmVkLA0KCVR3b0ZBTG9naW5fQWRkZWQsDQoJVGlueVVSTF9VcGRhdGVkLA0KICAgICAgICBUaW55VVJMX0FkZGVkDQoJU2lnbmF0dXJlX1VwZGF0ZWQsDQoJU2lnbmF0dXJlX1JlbW92ZWQNCg0KDQpUQVNLTUFOQUdFUlNFUlZJQ0VTIEFVRElUIENPREVTIFNIT1VMRCBCRSBTVEFSVEVEIA0KV0lUSCAxNTAxOg0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCg0KCVRhc2tSZXF1ZXN0X0FkZGVkID0gMTUwMQ0KCVRhc2tSZXF1ZXN0X1VwZGF0ZWQNCglUYXNrUmVxdWVzdF9VcGRhdGVk",

Scanned copy of the document

sample converter: Convert File to Data URI (adminbooster.com)

DocumentFIleName

string

V1

Eksamensbevis.pdf

the filename of the scanned document

Comments

string

V1

any comments

  • No labels