POST api/Delegation/Quotation

Request Information

URI Parameters

None.

Body Parameters

DelegationQuotationRequestModel
NameDescriptionTypeAdditional information
customer_email

string

Max length: 100

first_name

string

None.

last_name

string

None.

date_of_birth

date

Data type: Date

current_address

QuotationAddressRequestModel

None.

retailer_name

string

None.

retailer_code

integer

None.

retailer_id

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customer_email": "sample string 1",
  "first_name": "sample string 2",
  "last_name": "sample string 3",
  "date_of_birth": "2025-05-12T02:46:34.3085531+01:00",
  "current_address": {
    "post_code": "sample string 1",
    "city": "sample string 2",
    "flat": "sample string 3",
    "house_number": "sample string 4",
    "house_name": "sample string 5",
    "street": "sample string 6"
  },
  "retailer_name": "sample string 5",
  "retailer_code": 1,
  "retailer_id": "sample string 6"
}

text/html

Sample:
{"customer_email":"sample string 1","first_name":"sample string 2","last_name":"sample string 3","date_of_birth":"2025-05-12T02:46:34.3085531+01:00","current_address":{"post_code":"sample string 1","city":"sample string 2","flat":"sample string 3","house_number":"sample string 4","house_name":"sample string 5","street":"sample string 6"},"retailer_name":"sample string 5","retailer_code":1,"retailer_id":"sample string 6"}

application/xml, text/xml

Sample:
<DelegationQuotationRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmniPort.API.Services.APIRequests.DelegationRequestModels">
  <CurrentAddress>
    <City>sample string 2</City>
    <Flat>sample string 3</Flat>
    <HouseName>sample string 5</HouseName>
    <HouseNumber>sample string 4</HouseNumber>
    <PostCode>sample string 1</PostCode>
    <Street>sample string 6</Street>
  </CurrentAddress>
  <CustomerEmail>sample string 1</CustomerEmail>
  <DateOfBirth>2025-05-12T02:46:34.3085531+01:00</DateOfBirth>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <RetailerCode>1</RetailerCode>
  <RetailerId>sample string 6</RetailerId>
  <RetailerName>sample string 5</RetailerName>
</DelegationQuotationRequestModel>

Response Information

Resource Description

DelegationQuotationResponseModel
NameDescriptionTypeAdditional information
Errors

Dictionary of string [key] and string [value]

None.

RulesApplied

Collection of RulesAppliedModel

None.

QuotationSearchId

globally unique identifier

None.

Status

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Errors": {
    "sample string 1": "sample string 2",
    "sample string 3": "sample string 4"
  },
  "RulesApplied": [
    {
      "RuleName": "sample string 1",
      "RuleNumber": "sample string 2",
      "Field": "sample string 3",
      "Value": "sample string 4",
      "IsAuthenticatePlus": true,
      "RuleType": "sample string 6",
      "RuleResult": "sample string 7"
    },
    {
      "RuleName": "sample string 1",
      "RuleNumber": "sample string 2",
      "Field": "sample string 3",
      "Value": "sample string 4",
      "IsAuthenticatePlus": true,
      "RuleType": "sample string 6",
      "RuleResult": "sample string 7"
    }
  ],
  "QuotationSearchId": "4d139834-bdc0-4f9e-b7c8-f5c21b686596",
  "Status": "sample string 2"
}

text/html

Sample:
{"Errors":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"RulesApplied":[{"RuleName":"sample string 1","RuleNumber":"sample string 2","Field":"sample string 3","Value":"sample string 4","IsAuthenticatePlus":true,"RuleType":"sample string 6","RuleResult":"sample string 7"},{"RuleName":"sample string 1","RuleNumber":"sample string 2","Field":"sample string 3","Value":"sample string 4","IsAuthenticatePlus":true,"RuleType":"sample string 6","RuleResult":"sample string 7"}],"QuotationSearchId":"4d139834-bdc0-4f9e-b7c8-f5c21b686596","Status":"sample string 2"}

application/xml, text/xml

Sample:
<DelegationQuotationResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OmniPort.API.Services.APIResponses.DelegationResponse">
  <QuotationSearchId xmlns="http://schemas.datacontract.org/2004/07/OmniPort.API.Services.APIResponses.QuotationSearchResponses">4d139834-bdc0-4f9e-b7c8-f5c21b686596</QuotationSearchId>
  <Status xmlns="http://schemas.datacontract.org/2004/07/OmniPort.API.Services.APIResponses.QuotationSearchResponses">sample string 2</Status>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 1</d2p1:Key>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>sample string 3</d2p1:Key>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Errors>
  <RulesApplied xmlns:d2p1="http://schemas.datacontract.org/2004/07/OmniPort.API.Services.APIResponses.DelegationResponses.DelegationResponseModels">
    <d2p1:RulesAppliedModel>
      <d2p1:Field>sample string 3</d2p1:Field>
      <d2p1:IsAuthenticatePlus>true</d2p1:IsAuthenticatePlus>
      <d2p1:RuleName>sample string 1</d2p1:RuleName>
      <d2p1:RuleNumber>sample string 2</d2p1:RuleNumber>
      <d2p1:RuleResult>sample string 7</d2p1:RuleResult>
      <d2p1:RuleType>sample string 6</d2p1:RuleType>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:RulesAppliedModel>
    <d2p1:RulesAppliedModel>
      <d2p1:Field>sample string 3</d2p1:Field>
      <d2p1:IsAuthenticatePlus>true</d2p1:IsAuthenticatePlus>
      <d2p1:RuleName>sample string 1</d2p1:RuleName>
      <d2p1:RuleNumber>sample string 2</d2p1:RuleNumber>
      <d2p1:RuleResult>sample string 7</d2p1:RuleResult>
      <d2p1:RuleType>sample string 6</d2p1:RuleType>
      <d2p1:Value>sample string 4</d2p1:Value>
    </d2p1:RulesAppliedModel>
  </RulesApplied>
</DelegationQuotationResponseModel>