POST api/Generic
Request Information
URI Parameters
None.
Body Parameters
GenericUnitName | Description | Type | Additional information |
---|---|---|---|
IMEI | string |
None. |
|
OrderNumber | string |
None. |
|
PrimaryFaultCode | string |
None. |
|
SecondaryFaultCode | string |
None. |
|
FreeText | string |
None. |
|
Manufacturer | string |
None. |
|
Model | string |
None. |
|
ContractStartDate | date |
None. |
|
MobileNumber | string |
None. |
|
DisMobileNumber | string |
None. |
|
ContractEmailAddress | string |
None. |
|
AccountName | string |
None. |
|
AlternativeContactNumber | string |
None. |
|
AlternativeContactEmail | string |
None. |
|
CollectionDate | date |
None. |
|
Address | AddressDetails |
None. |
|
Customer | string |
None. |
|
Bundle | Bundles |
None. |
|
CollectionType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "IMEI": "sample string 1", "OrderNumber": "sample string 2", "PrimaryFaultCode": "sample string 3", "SecondaryFaultCode": "sample string 4", "FreeText": "sample string 5", "Manufacturer": "sample string 6", "Model": "sample string 7", "ContractStartDate": "2025-04-04T14:26:47.7409264+00:00", "MobileNumber": "sample string 9", "DisMobileNumber": "sample string 10", "ContractEmailAddress": "sample string 11", "AccountName": "sample string 12", "AlternativeContactNumber": "sample string 13", "AlternativeContactEmail": "sample string 14", "CollectionDate": "2025-04-04T14:26:47.7494558+00:00", "Address": { "BillingAddress1": "sample string 1", "BillingAddress2": "sample string 2", "BillingAddress3": "sample string 3", "BillingCity": "sample string 4", "BillingCounty": "sample string 5", "BillingPostCode": "sample string 6", "CollectionAddress1": "sample string 7", "CollectionAddress2": "sample string 8", "CollectionAddress3": "sample string 9", "CollectionCity": "sample string 10", "CollectionCounty": "sample string 11", "CollectionPostCode": "sample string 12" }, "Customer": "sample string 16", "Bundle": { "NumberOfBundleItems": 1, "Serials": [ "sample string 1", "sample string 2" ] }, "CollectionType": "sample string 17" }
application/xml, text/xml
Sample:
<GenericUnit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomerMobileReturns.Models"> <AccountName>sample string 12</AccountName> <Address> <BillingAddress1>sample string 1</BillingAddress1> <BillingAddress2>sample string 2</BillingAddress2> <BillingAddress3>sample string 3</BillingAddress3> <BillingCity>sample string 4</BillingCity> <BillingCounty>sample string 5</BillingCounty> <BillingPostCode>sample string 6</BillingPostCode> <CollectionAddress1>sample string 7</CollectionAddress1> <CollectionAddress2>sample string 8</CollectionAddress2> <CollectionAddress3>sample string 9</CollectionAddress3> <CollectionCity>sample string 10</CollectionCity> <CollectionCounty>sample string 11</CollectionCounty> <CollectionPostCode>sample string 12</CollectionPostCode> </Address> <AlternativeContactEmail>sample string 14</AlternativeContactEmail> <AlternativeContactNumber>sample string 13</AlternativeContactNumber> <Bundle> <NumberOfBundleItems>1</NumberOfBundleItems> <Serials xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </Serials> </Bundle> <CollectionDate>2025-04-04T14:26:47.7494558+00:00</CollectionDate> <CollectionType>sample string 17</CollectionType> <ContractEmailAddress>sample string 11</ContractEmailAddress> <ContractStartDate>2025-04-04T14:26:47.7409264+00:00</ContractStartDate> <Customer>sample string 16</Customer> <DisMobileNumber>sample string 10</DisMobileNumber> <FreeText>sample string 5</FreeText> <IMEI>sample string 1</IMEI> <Manufacturer>sample string 6</Manufacturer> <MobileNumber>sample string 9</MobileNumber> <Model>sample string 7</Model> <OrderNumber>sample string 2</OrderNumber> <PrimaryFaultCode>sample string 3</PrimaryFaultCode> <SecondaryFaultCode>sample string 4</SecondaryFaultCode> </GenericUnit>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |