Previc STA File Transfer System Web Services Interface Manual

STA File Transfer System WebService Interface Manual


Previc STA File Transfer System Web Services Interface Manual - cover page
Brand
Previc
Category
Other software
Document type
Programming Manual
Language
Portuguese
Pages
8
File format
PDF
File size
656 KB
Published
02 December, 2023
Updated
02 December, 2023
MD5 checksum
78F3EF6002168C95BD041BEE48E594C8

About this manual

This manual, version 1.0, describes the web services of the Previc Sistema de Transferência de Arquivos (STA). The services follow REST and are intended to automate queries of transferred or available files, file upload, and file download. Manual file transfers are made through the STA web interface.

The manual covers access authorization through GERID and SISPREVIC.STA.EXTERNO or SISPREVIC.STA.INTERNO, Basic Authentication, HTTPS traffic, MD5 file integrity checks, and XML document requirements. It also gives a connectivity test, upload and download request examples, query endpoints, and Previc support information. This manual is written in Portuguese.

What's inside

  • Introduction
  • Security
  • Complete HTTP request
  • Connectivity test
  • File upload
  • File download
  • File transfer queries
  • Support

Specifications

Web service standardREST
AuthenticationBasic Authentication
Secure transportHTTPS
Hash algorithmMD5
Maximum upload file size1 MB
Upload protocol validity48 hours
Maximum protocols per query page1,000
XML supportReading and manipulation of XML documents

Frequently asked questions

What authentication method do the STA web services use?

They use Basic Authentication; the login is the same used for GerID, generally the user's CPF.

What hash algorithm verifies file integrity?

MD5. The hash must be calculated over the complete content of the compressed file to be transmitted.

What is the maximum file size for upload?

The maximum file size for upload is 1MB.

How many protocols can a file query return per page?

A file query returns at most 1,000 protocols per page.

Download PDF (656 KB)