Imports new and existing mail items.
Access to this method is authorized by the Import mail items operation.
Success
Bad Request
Unauthorized
Internal Server Error
Request to import a letter
{- "ItemId": "LE22101702XPL",
- "ClassCd": "U",
- "OrigCountryCd": "PL",
- "Letter": {
- "InsuredValue": 16.5,
- "InsuredSDRValue": 3.2,
- "RouteInstructionCd": "BA",
- "SenderInstructionCd": "RD",
- "LetterCharacteristicCd": "IB",
- "CoDValue": 15.54,
- "CoDCurrencyCd": "CHF",
- "CoDInd": 1,
- "ExemptInd": 0,
- "ExpressInd": 0,
- "DeliveryProofInd": 0,
- "ConveyanceTypeCd": "P",
- "InsuredCurrencyCd": "CHF",
- "MailCategoryCd": "A",
- "MailItemCategoryCd": "AC",
- "ReturnDelay": 123
}, - "ItemEvents": [
- {
- "TNCd": "30",
- "Date": "2019-01-02T01:11:00",
- "OfficeCd": "PLWAWA"
}
]
}
{- "Mailitem": {
- "AdditionalFeesCurrencyCd": "EUR",
- "AdditionalFeesValue": 2,
- "Addressee": {
- "Name": "John Doe",
- "Forename": "Joe",
- "Address": "Welpoststrasse 4",
- "City": "Bern",
- "Postcode": "3015",
- "Country": "DE",
- "Title": "MS",
- "CountrySubEntity": "CH",
- "PhoneNo": "+417777777777",
- "FaxNo": "+418888888888",
- "Email": "testrecp@test.com",
- "NotificationMethod": "E",
- "NotificationTypes": {
- "NotificationTypeCd": "ND"
}, - "HouseNumber": "hn1",
- "HouseNumberExtension": "hext1",
- "CustomerLanguage": "ENG",
- "AltDelivAddressCityTown": "Bern",
- "AltDelivAddressHouseId": "204",
- "AltDelivAddressLine_1": "Welpoststrasse 4",
- "AltDelivAddressLine_2": "Welpoststrasse 4",
- "AltDelivAddressPostcode": "3006",
- "CodBIC": "BICXXX",
- "CodIBAN": "IBAN1234",
- "ConsumerRegNumber": "REG12345",
- "CustomerChargArrangement": "DDU",
- "AddressLine_2": "Welpoststrasse 4",
- "IntendedDeliveryLocationType": "",
- "DeliveryServiceType": "1",
- "PickUpPointId": "PKUP",
- "MailSourceExport": "201",
- "POBox": null,
- "PosteRestanteInd": null,
- "StreetName": null
}, - "ClassCd": "U",
- "Content": "D",
- "CurrencyCd": "EUR",
- "CustomNo": "abccust",
- "CustomsTaxInformation": {
- "AccompanyingDocuments": [
- {
- "DocumentTypeCode": "380",
- "Identifier": "01/01/2021-1",
- "Name": "Invoice"
}
], - "ContentPieces": [
- {
- "DeclaredValue": 12,
- "DeclaredValueCurrencyCode": "EUR",
- "Description": "Toy-Sport-Jouet",
- "Identifier": 123456,
- "NetWeight": 1.5,
- "NumberOfUnits": 1,
- "OriginLocation": "CH",
- "TariffHeading": "490110"
}
], - "DeclaredGrossWeight": 2.25,
- "ItemNatureCode": "31",
- "ItemNatureCodeDescription": [
- {
- "Code": 31,
- "Description": "Gift"
}
], - "Observations": "ObservationsCustomsTaxInformation",
- "RecipientCustomsReferenceNumber": "RecipientCustRef00001",
- "SenderCustomsReferenceNumber": "SenderCustRef00001"
}, - "DestCountryCd": "DE",
- "DutiableInd": "100",
- "DutiableValue": 12.55,
- "InnrbagId": "PLWAWANLAMSAAUN90002001",
- "ItemEvents": [
- {
- "TNCd": "1",
- "SignatoryBase64": "iVBORw0KGgoAAAANSUhEUgAAACYAAAAmCAYAAACoPemuAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAWdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjFM78X/AAAIYUlEQVRYR+3Ye1BU9xUHcJp2+kc640xn2kn/i0ISEQ2Qsa4ICAZEERRRMUp4ZdpEU61J1SRGE7MxDxJj1ICQqGhqGg0ij7BA0k4yTadN7SQ+eMjyXpbXPmFhd1lTcVk9/Z7fvUvuLi40nSR2pr0zZ4SL3PvZc36/8/v9CPr/dbsutTroDq16/Y8pKOgH8q3bc5kPJP1EuydB1bY34fG23Q+ebX12ia7lmfgx7VNx2uadiwubdsSlaZ+K/8V3CuWH2z7OmuMK5EXZyzJf7Du88nznvqVfdbyQSO3P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/0KV5JAmnoHIgXcM4ZPAyw0DdywlkPqEiZ91cPEiGKXCDp7CtBo43ixNthGHHGTabBssBQ3tg2FBlGPUXR5Pu1UQnzhYnOtRJkXj9v3dip7qHfwrcdkSDvTzrpphxaAW8Fnp7nBLG50s+KfF2m2He5ms4ClgpYGdDgVyAoZJ0E7vd9u785Ts61ckz5Nd984tPylfr8iIBPI4jm028HGWegMk4PsINIWu9OAt4Zyrj+gvnk6lkIfUeXO7G71Xr9icn8klffvy3cxlrNt3p1ORmA/i34dKN43z6xtgQOHFKQtZ4+8OTgeE83voPpppwDMzXH0i5W37Md3tZy7LvcVbn5Dsqswzcw/gIx4dj3mHgmHcDJ6fzAwUrc/hPU/KvfL8X/SX+R8OVWamO6pwPARvG0nRyoHBNhPzj/47rtv/R7n/4Cgr6Fz6wfMYSzMlVAAAAAElFTkSuQmCC",
- "SignatoryBase64Ext": "png",
- "Date": "2019-01-01T01:11:00",
- "OfficeCd": "CHZRHB",
- "UserFid": "INTERNAL\\\\tannerh",
- "WorkstationFid": "PC10117009",
- "ConditionCd": "30",
- "AttemptedDeliveryLocation": null,
- "CustomsOfficeCd": null,
- "CustomsOfficeTypeCd": null,
- "CustomsReleaseStatusCd": null,
- "DelivLocation": null,
- "DeliveryAgent": null,
- "DeliveryTypeCd": null,
- "LodgementModeCd": null,
- "MailSourceCd": null,
- "NextOfficeFcd": null,
- "NonDeliveryMeasure": null,
- "NonDeliveryReason": null,
- "RetentionReasonCd": null,
- "SignatoryNm": null,
- "TransitDirectionCd": null,
- "CollectionPostcode": null
}
], - "ItemId": "RR23010110XMK",
- "ItemWeight": 1,
- "InsuredSDRValue": 3.2,
- "Letter": {
- "InsuredValue": 16.5,
- "RouteInstructionCd": "EC",
- "SenderInstructionCd": "RD",
- "CoDValue": 15.54,
- "CoDCurrencyCd": "CHF",
- "CoDInd": 0,
- "ExemptInd": 0,
- "ExpressInd": 0,
- "DeliveryProofInd": 0,
- "ConveyanceTypeCd": "P",
- "InsuredCurrencyCd": "EUR",
- "MailCategoryCd": "A",
- "MailItemCategoryCd": "IN",
- "ReturnDelay": 3,
- "LetterCharacteristicCd": "AL"
}, - "Parcel": {
- "InsuredValue": 16.5,
- "RouteInstructionCd": "EC",
- "SenderInstructionCd": "RD",
- "CoDValue": 15.54,
- "CoDCurrencyCd": "CHF",
- "CoDInd": 0,
- "ExemptInd": 0,
- "ExpressInd": 0,
- "DeliveryProofInd": 0,
- "ConveyanceTypeCd": "P",
- "InsuredCurrencyCd": "EUR",
- "MailCategoryCd": "A",
- "MailItemCategoryCd": "IN",
- "ReturnDelay": 3,
- "ParcelRate": 0,
- "ParcelDue": 0
}, - "LocalId": "RR23010110XMK_LOCAL",
- "Misc1": "misc111",
- "Misc2": "misc112",
- "Misc3": "misc113",
- "Misc4": "misc114",
- "MrsExpirationDate": "2019-01-02T01:11:00",
- "MrsOriginalId": "R",
- "MrsStatus": "N",
- "NetworkEntryLocationTypeCd": "3",
- "OperatorCd": "CHA",
- "OrigCountryCd": "CH",
- "PostagePaidCurrencyCd": "EUR",
- "PostagePaidValue": 2,
- "PostalStatusFcd": "MINL",
- "ProductTypeCd": "K",
- "RecptclId": "PLWAWANLAMSAAUN90002001100050",
- "Sender": {
- "Name": "John Doe",
- "Forename": "Joe",
- "Address": "Welpoststrasse 4",
- "City": "Bern",
- "Postcode": "3015",
- "Country": "CH",
- "Title": "MS",
- "CountrySubEntity": "CH",
- "PhoneNo": "+41760000000",
- "FaxNo": "41760000000",
- "Email": "send@test.com",
- "NotificationMethod": "E",
- "NotificationTypes": {
- "NotificationTypeCd": "ND"
}, - "HouseNumber": "22",
- "HouseNumberExtension": "234",
- "CustomerLanguage": "ENG",
- "AltDelivAddressCityTown": "Bern",
- "AltDelivAddressHouseId": "304",
- "AltDelivAddressLine_1": "Welpoststrasse 4",
- "AltDelivAddressLine_2": "Welpoststrasse 4",
- "AltDelivAddressPostcode": "3015",
- "CodBIC": "SBIC",
- "CodIBAN": "SIBAN55555",
- "ConsumerRegNumber": "REG12345678",
- "CustomerChargArrangement": "DDU",
- "AddressLine_2": "Welpoststrasse 4",
- "IntendedDeliveryLocationType": "",
- "DeliveryServiceType": "1",
- "PickUpPointId": "POINT_1",
- "MailSourceExport": "201",
- "POBox": null,
- "PosteRestanteInd": null,
- "StreetName": "Welpoststrasse 4"
}, - "Services": {
- "ServiceCd": "AA"
}, - "Value": 11
}
}