DELETE api/Hmrc/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
id
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "SaveId": "04da1aef-6a8f-4372-848f-47f063ef8e0e",
  "Status": "sample string 2",
  "SaleOrderId": "sample string 3",
  "SaleSaveId": "d690cd2d-fb2b-4269-b2ce-33caffdf6dc5",
  "DocumentDate": "sample string 4",
  "DocumentNo": "sample string 5",
  "TenantId": "sample string 6",
  "DeclarantOrganisation": "sample string 7",
  "DeclarantTelelephone": "sample string 8",
  "DeclarationPlace": "sample string 9",
  "ChamberLaunched": true,
  "DeclarationDate": "sample string 11",
  "DeclarantName": "sample string 12",
  "DeclarantJoTitle": "sample string 13",
  "DeclarantSignature": "sample string 14",
  "PdfReport": "sample string 15",
  "CreatedDateTimeStamp": "2025-09-18T03:39:45.785084+00:00",
  "UpdatedDateTimeStamp": "2025-09-18T03:39:45.785084+00:00",
  "HmrcAddresses": {
    "$id": "2",
    "$values": [
      {
        "$id": "3",
        "SaveId": "7975bda4-f3d2-4460-b9c9-577a74f65f38",
        "NAType": "sample string 2",
        "LongName": "sample string 3",
        "ShortName": "sample string 4",
        "CountryId": "sample string 5",
        "CountryName": "sample string 6",
        "AddressLine1": "sample string 7",
        "AddressLine2": "sample string 8",
        "TownLocality": "sample string 9",
        "CityRegion": "sample string 10",
        "PostalZipCode": "sample string 11",
        "State": "sample string 12",
        "VATNumber": "sample string 13",
        "EORINumber": "sample string 14",
        "ContactSaveId": "17cb7930-c313-473e-89dc-0cf56ac1ac51",
        "HmrcSaveId": "ccb1f668-bf75-4d41-8b72-4898a45f325c",
        "HmrcDocumnet": {
          "$ref": "1"
        }
      },
      {
        "$ref": "3"
      },
      {
        "$ref": "3"
      }
    ]
  },
  "HmrcDetailProducts": {
    "$id": "4",
    "$values": [
      {
        "$id": "5",
        "SaveId": "81a0b310-9f85-4258-bf11-b26700be6ba3",
        "ProductId": "sample string 2",
        "CustomsProcedureCode": "sample string 3",
        "NetWeight": "sample string 4",
        "GoodsDescription": "sample string 5",
        "CommodityCode": "sample string 6",
        "GrossWeight": "sample string 7",
        "SupplementryUnits": "sample string 8",
        "StatedValue": "sample string 9",
        "ItemPrice": "sample string 10",
        "UNDGNCode": "sample string 11",
        "AICode": "sample string 12",
        "AIStatement": "sample string 13",
        "HmrcSaveId": "bc38ca66-9f4c-43b9-a3b4-c1a9cd597608",
        "ProductSaveId": "5f9e2cc0-7651-4329-804b-4bbcadcfc2ef",
        "HmrcDocumnet": {
          "$ref": "1"
        }
      },
      {
        "$ref": "5"
      },
      {
        "$ref": "5"
      }
    ]
  },
  "HmrcDetail": {
    "$id": "6",
    "HmrcSaveId": "ac82f6b3-9377-4a1c-be1e-8af0cb1ff95f",
    "PackageType": "sample string 2",
    "PackageMarks": "sample string 3",
    "PackageCount": "sample string 4",
    "DocumentType": "sample string 5",
    "DocumentRefId": "sample string 6",
    "DocumentExportClass": "sample string 7",
    "DocumentLongName": "sample string 8",
    "CommercialInvoice": "sample string 9",
    "InvoiceSaveId": "0d413f48-c677-4cf6-a27d-868e606f6f09",
    "HmrcDocumnet": {
      "$ref": "1"
    }
  },
  "HmrcHeader": {
    "$id": "7",
    "HmrcSaveId": "74e65fa3-88ca-481a-9acd-fb493c63e97f",
    "ClientRef": "sample string 2",
    "MessageType": "sample string 3",
    "DeclarationCcy": "sample string 4",
    "DeclarationRep": "sample string 5",
    "DeclarationUCR": "sample string 6",
    "DeparturePort": "sample string 7",
    "DestinationCountry": "sample string 8",
    "ConsignorId": "sample string 9",
    "ConsigneeId": "sample string 10",
    "TotalPackages": "sample string 11",
    "GoodsDepartureDate": "sample string 12",
    "SpecialCircimstances": "sample string 13",
    "InvoiceCcy": "sample string 14",
    "ExitOffice": "sample string 15",
    "MasterUCR": "sample string 16",
    "TransportModeCode": "sample string 17",
    "TrnasportModeInland": "sample string 18",
    "TransportCharges": "sample string 19",
    "SingleTransportContract": "sample string 20",
    "UKExportOffice": "sample string 21",
    "HmrcDocumnet": {
      "$ref": "1"
    }
  },
  "HmrcHistories": {
    "$id": "8",
    "$values": [
      {
        "$id": "9",
        "SaveId": "c0faa849-e09d-488c-a4d2-f3eed22a7822",
        "Status": "sample string 2",
        "ProcessDate": "sample string 3",
        "ProcessUser": "sample string 4",
        "UserComments": "sample string 5",
        "HmrcSaveId": "a50f994f-2d77-43df-a5b3-b9eacc263ece",
        "HmrcDocumnet": {
          "$ref": "1"
        }
      },
      {
        "$ref": "9"
      },
      {
        "$ref": "9"
      }
    ]
  }
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: One or more errors occurred.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: One or more errors occurred.