Version: 24.10
POST Import TPac Archive
Import a TPac archive ZIP file into the Journey Manager server.
Request
HTTP request
POST https://<TM_SERVER>/manager/secure/rest/tpac/v1/<CLIENT_CODE>/
Request body
The Multipart POST request parameters (hedaers) include:
archiveFile
: Required. The TPac archive ZIP file.override
: A boolean header that determines whether to override an existing TPac. Values:true
,false
(Default:false
).
Response
If successful, this operation returns a response with a HTTP 200 OK
status code.
Example
The POST example below is idealized to provide an illustration of a multipart POST request.
Example request
POST /manager/secure/rest/tpac/v1/maguire/ HTTP/1.1
Host: https://transact.maguire.com
Content-type: multipart/form-data, boundary=AaB03x
--AaB03x
content-disposition: form-data; name="archiveFile"; filename="tpac-fis-chexsystems-v1-0-001.zip"
Content-Transfer-Encoding: binary
...
--AaB03x--
==========================
Example response
{
"archiveName": "tpac-fis-chexsystems-v1-0-001.zip",
"importMessage": "Imported services for tpac 'FIS ChexSystems' for organization 'client' to Organization 'client' successfully.",
"importStatus": "Completed",
"importTime": "2017-05-19T16:32+1000"
}