POST api/GoodsInTransit/LodgeClaim

Request Information

URI Parameters

None.

Body Parameters

GoodsInTransitDto
NameDescriptionTypeAdditional information
CustomerId

integer

None.

PremiumPaid

decimal number

None.

ReceiptNumber

string

None.

ReceiptDate

date

None.

DateTimeOfLoss

date

None.

PlaceOfLoss

string

None.

GoodsCollected

date

None.

DateOfDelivery

date

None.

DestinationOfGoods

string

None.

NameOfCarrier

string

None.

NatureOfContractWithCarrier

string

None.

PlateNumberOfCarrierVehicle

string

None.

InsurerOfCarrier

string

None.

DescriptionOfGoods

string

None.

ValueOfConsignment

decimal number

None.

CircumstancesOfLoss

string

None.

AmountToClaim

decimal number

None.

ValueOfSalvage

decimal number

None.

DescriptionOfGoodsPackaging

string

None.

PackagingWasSupervisedBySeniorOfficial

boolean

None.

ConditionOfPackageWhenRecieved

string

None.

NatureOfReceiptGivenToDriver

string

None.

LossHasOtherInsuranceCover

boolean

None.

NatureOfOtherInsuranceCover

string

None.

CompanyInterestedInOtherInsuranceCover

string

None.

GoodsInTransitClaimId

integer

None.

WitnessFirstName

string

None.

WitnessLastName

string

None.

WitnessAddress

string

None.

DriverWrittenStatementUrl

string

None.

ConsigneeDebitNoteOrPurchaseReceiptUrl

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "PremiumPaid": 2.0,
  "ReceiptNumber": "sample string 3",
  "ReceiptDate": "2026-09-01T05:41:37.1884065+01:00",
  "DateTimeOfLoss": "2026-09-01T05:41:37.1884065+01:00",
  "PlaceOfLoss": "sample string 5",
  "GoodsCollected": "2026-09-01T05:41:37.1884065+01:00",
  "DateOfDelivery": "2026-09-01T05:41:37.1884065+01:00",
  "DestinationOfGoods": "sample string 8",
  "NameOfCarrier": "sample string 9",
  "NatureOfContractWithCarrier": "sample string 10",
  "PlateNumberOfCarrierVehicle": "sample string 11",
  "InsurerOfCarrier": "sample string 12",
  "DescriptionOfGoods": "sample string 13",
  "ValueOfConsignment": 14.0,
  "CircumstancesOfLoss": "sample string 15",
  "AmountToClaim": 16.0,
  "ValueOfSalvage": 1.0,
  "DescriptionOfGoodsPackaging": "sample string 17",
  "PackagingWasSupervisedBySeniorOfficial": true,
  "ConditionOfPackageWhenRecieved": "sample string 19",
  "NatureOfReceiptGivenToDriver": "sample string 20",
  "LossHasOtherInsuranceCover": true,
  "NatureOfOtherInsuranceCover": "sample string 22",
  "CompanyInterestedInOtherInsuranceCover": "sample string 23",
  "GoodsInTransitClaimId": 24,
  "WitnessFirstName": "sample string 25",
  "WitnessLastName": "sample string 26",
  "WitnessAddress": "sample string 27",
  "DriverWrittenStatementUrl": "sample string 28",
  "ConsigneeDebitNoteOrPurchaseReceiptUrl": "sample string 29"
}

application/xml, text/xml

Sample:
<GoodsInTransitDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CHICoreRestAPI.Core.Contracts.ViewModel">
  <AmountToClaim>16</AmountToClaim>
  <CircumstancesOfLoss>sample string 15</CircumstancesOfLoss>
  <CompanyInterestedInOtherInsuranceCover>sample string 23</CompanyInterestedInOtherInsuranceCover>
  <ConditionOfPackageWhenRecieved>sample string 19</ConditionOfPackageWhenRecieved>
  <ConsigneeDebitNoteOrPurchaseReceiptUrl>sample string 29</ConsigneeDebitNoteOrPurchaseReceiptUrl>
  <CustomerId>1</CustomerId>
  <DateOfDelivery>2026-09-01T05:41:37.1884065+01:00</DateOfDelivery>
  <DateTimeOfLoss>2026-09-01T05:41:37.1884065+01:00</DateTimeOfLoss>
  <DescriptionOfGoods>sample string 13</DescriptionOfGoods>
  <DescriptionOfGoodsPackaging>sample string 17</DescriptionOfGoodsPackaging>
  <DestinationOfGoods>sample string 8</DestinationOfGoods>
  <DriverWrittenStatementUrl>sample string 28</DriverWrittenStatementUrl>
  <GoodsCollected>2026-09-01T05:41:37.1884065+01:00</GoodsCollected>
  <GoodsInTransitClaimId>24</GoodsInTransitClaimId>
  <InsurerOfCarrier>sample string 12</InsurerOfCarrier>
  <LossHasOtherInsuranceCover>true</LossHasOtherInsuranceCover>
  <NameOfCarrier>sample string 9</NameOfCarrier>
  <NatureOfContractWithCarrier>sample string 10</NatureOfContractWithCarrier>
  <NatureOfOtherInsuranceCover>sample string 22</NatureOfOtherInsuranceCover>
  <NatureOfReceiptGivenToDriver>sample string 20</NatureOfReceiptGivenToDriver>
  <PackagingWasSupervisedBySeniorOfficial>true</PackagingWasSupervisedBySeniorOfficial>
  <PlaceOfLoss>sample string 5</PlaceOfLoss>
  <PlateNumberOfCarrierVehicle>sample string 11</PlateNumberOfCarrierVehicle>
  <PremiumPaid>2</PremiumPaid>
  <ReceiptDate>2026-09-01T05:41:37.1884065+01:00</ReceiptDate>
  <ReceiptNumber>sample string 3</ReceiptNumber>
  <ValueOfConsignment>14</ValueOfConsignment>
  <ValueOfSalvage>1</ValueOfSalvage>
  <WitnessAddress>sample string 27</WitnessAddress>
  <WitnessFirstName>sample string 25</WitnessFirstName>
  <WitnessLastName>sample string 26</WitnessLastName>
</GoodsInTransitDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GoodsInTransitDto'.

Response Information

Resource Description

GoodsInTransitDto
NameDescriptionTypeAdditional information
CustomerId

integer

None.

PremiumPaid

decimal number

None.

ReceiptNumber

string

None.

ReceiptDate

date

None.

DateTimeOfLoss

date

None.

PlaceOfLoss

string

None.

GoodsCollected

date

None.

DateOfDelivery

date

None.

DestinationOfGoods

string

None.

NameOfCarrier

string

None.

NatureOfContractWithCarrier

string

None.

PlateNumberOfCarrierVehicle

string

None.

InsurerOfCarrier

string

None.

DescriptionOfGoods

string

None.

ValueOfConsignment

decimal number

None.

CircumstancesOfLoss

string

None.

AmountToClaim

decimal number

None.

ValueOfSalvage

decimal number

None.

DescriptionOfGoodsPackaging

string

None.

PackagingWasSupervisedBySeniorOfficial

boolean

None.

ConditionOfPackageWhenRecieved

string

None.

NatureOfReceiptGivenToDriver

string

None.

LossHasOtherInsuranceCover

boolean

None.

NatureOfOtherInsuranceCover

string

None.

CompanyInterestedInOtherInsuranceCover

string

None.

GoodsInTransitClaimId

integer

None.

WitnessFirstName

string

None.

WitnessLastName

string

None.

WitnessAddress

string

None.

DriverWrittenStatementUrl

string

None.

ConsigneeDebitNoteOrPurchaseReceiptUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "PremiumPaid": 2.0,
  "ReceiptNumber": "sample string 3",
  "ReceiptDate": "2026-09-01T05:41:37.2040342+01:00",
  "DateTimeOfLoss": "2026-09-01T05:41:37.2040342+01:00",
  "PlaceOfLoss": "sample string 5",
  "GoodsCollected": "2026-09-01T05:41:37.2040342+01:00",
  "DateOfDelivery": "2026-09-01T05:41:37.2040342+01:00",
  "DestinationOfGoods": "sample string 8",
  "NameOfCarrier": "sample string 9",
  "NatureOfContractWithCarrier": "sample string 10",
  "PlateNumberOfCarrierVehicle": "sample string 11",
  "InsurerOfCarrier": "sample string 12",
  "DescriptionOfGoods": "sample string 13",
  "ValueOfConsignment": 14.0,
  "CircumstancesOfLoss": "sample string 15",
  "AmountToClaim": 16.0,
  "ValueOfSalvage": 1.0,
  "DescriptionOfGoodsPackaging": "sample string 17",
  "PackagingWasSupervisedBySeniorOfficial": true,
  "ConditionOfPackageWhenRecieved": "sample string 19",
  "NatureOfReceiptGivenToDriver": "sample string 20",
  "LossHasOtherInsuranceCover": true,
  "NatureOfOtherInsuranceCover": "sample string 22",
  "CompanyInterestedInOtherInsuranceCover": "sample string 23",
  "GoodsInTransitClaimId": 24,
  "WitnessFirstName": "sample string 25",
  "WitnessLastName": "sample string 26",
  "WitnessAddress": "sample string 27",
  "DriverWrittenStatementUrl": "sample string 28",
  "ConsigneeDebitNoteOrPurchaseReceiptUrl": "sample string 29"
}

application/xml, text/xml

Sample:
<GoodsInTransitDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CHICoreRestAPI.Core.Contracts.ViewModel">
  <AmountToClaim>16</AmountToClaim>
  <CircumstancesOfLoss>sample string 15</CircumstancesOfLoss>
  <CompanyInterestedInOtherInsuranceCover>sample string 23</CompanyInterestedInOtherInsuranceCover>
  <ConditionOfPackageWhenRecieved>sample string 19</ConditionOfPackageWhenRecieved>
  <ConsigneeDebitNoteOrPurchaseReceiptUrl>sample string 29</ConsigneeDebitNoteOrPurchaseReceiptUrl>
  <CustomerId>1</CustomerId>
  <DateOfDelivery>2026-09-01T05:41:37.2040342+01:00</DateOfDelivery>
  <DateTimeOfLoss>2026-09-01T05:41:37.2040342+01:00</DateTimeOfLoss>
  <DescriptionOfGoods>sample string 13</DescriptionOfGoods>
  <DescriptionOfGoodsPackaging>sample string 17</DescriptionOfGoodsPackaging>
  <DestinationOfGoods>sample string 8</DestinationOfGoods>
  <DriverWrittenStatementUrl>sample string 28</DriverWrittenStatementUrl>
  <GoodsCollected>2026-09-01T05:41:37.2040342+01:00</GoodsCollected>
  <GoodsInTransitClaimId>24</GoodsInTransitClaimId>
  <InsurerOfCarrier>sample string 12</InsurerOfCarrier>
  <LossHasOtherInsuranceCover>true</LossHasOtherInsuranceCover>
  <NameOfCarrier>sample string 9</NameOfCarrier>
  <NatureOfContractWithCarrier>sample string 10</NatureOfContractWithCarrier>
  <NatureOfOtherInsuranceCover>sample string 22</NatureOfOtherInsuranceCover>
  <NatureOfReceiptGivenToDriver>sample string 20</NatureOfReceiptGivenToDriver>
  <PackagingWasSupervisedBySeniorOfficial>true</PackagingWasSupervisedBySeniorOfficial>
  <PlaceOfLoss>sample string 5</PlaceOfLoss>
  <PlateNumberOfCarrierVehicle>sample string 11</PlateNumberOfCarrierVehicle>
  <PremiumPaid>2</PremiumPaid>
  <ReceiptDate>2026-09-01T05:41:37.2040342+01:00</ReceiptDate>
  <ReceiptNumber>sample string 3</ReceiptNumber>
  <ValueOfConsignment>14</ValueOfConsignment>
  <ValueOfSalvage>1</ValueOfSalvage>
  <WitnessAddress>sample string 27</WitnessAddress>
  <WitnessFirstName>sample string 25</WitnessFirstName>
  <WitnessLastName>sample string 26</WitnessLastName>
</GoodsInTransitDto>