Bridge

<back to all web services

DealRecapDecline

Deal Recaps
The following routes are available for this service:
GET/Deal-Recap/Decline
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class DealRecapDecline:
    guid: Optional[str] = None


@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class GetRecapDetailsViewModel:
    guid: Optional[str] = None
    document_title: Optional[str] = None
    general_comments: Optional[str] = None
    enquiry_id: int = 0
    enquiry_guid: Optional[str] = None
    company_logo: Optional[bytes] = None
    from_contact_name: Optional[str] = None
    contact_guid: Optional[str] = None
    entity_name: Optional[str] = None
    vessel_name: Optional[str] = None
    imo_number: int = 0
    port_code: Optional[str] = None
    port_name: Optional[str] = None
    country_name: Optional[str] = None
    country_flag: Optional[bytes] = None
    date_from: datetime.datetime = datetime.datetime(1, 1, 1)
    date_to: datetime.datetime = datetime.datetime(1, 1, 1)
    buyer_account_name: Optional[str] = None
    delivery_method: Optional[str] = None
    agent_details: Optional[str] = None
    recap_terms: Optional[str] = None
    additional_costs: Optional[str] = None
    recap_grades: Optional[str] = None
    accepted: Optional[bool] = None
    rejected: Optional[bool] = None
    from_entity_contact_id: int = 0
    to_entity_contact_id: int = 0
    recap_comments: Optional[str] = None
    terms_and_conditions: Optional[str] = None
    image_guid: Optional[str] = None
    vessel_id: int = 0
    confirmation_only: bool = False

Python DealRecapDecline DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Deal-Recap/Decline HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetRecapDetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
  <Accepted>false</Accepted>
  <AdditionalCosts>String</AdditionalCosts>
  <AgentDetails>String</AgentDetails>
  <BuyerAccountName>String</BuyerAccountName>
  <CompanyLogo>AA==</CompanyLogo>
  <ConfirmationOnly>false</ConfirmationOnly>
  <ContactGuid>00000000-0000-0000-0000-000000000000</ContactGuid>
  <CountryFlag>AA==</CountryFlag>
  <CountryName>String</CountryName>
  <DateFrom>0001-01-01T00:00:00</DateFrom>
  <DateTo>0001-01-01T00:00:00</DateTo>
  <DeliveryMethod>String</DeliveryMethod>
  <DocumentTitle>String</DocumentTitle>
  <EnquiryGuid>00000000-0000-0000-0000-000000000000</EnquiryGuid>
  <EnquiryId>0</EnquiryId>
  <EntityName>String</EntityName>
  <FromContactName>String</FromContactName>
  <FromEntityContactId>0</FromEntityContactId>
  <GeneralComments>String</GeneralComments>
  <Guid>00000000-0000-0000-0000-000000000000</Guid>
  <IMONumber>0</IMONumber>
  <ImageGuid>00000000-0000-0000-0000-000000000000</ImageGuid>
  <PortCode>String</PortCode>
  <PortName>String</PortName>
  <RecapComments>String</RecapComments>
  <RecapGrades>String</RecapGrades>
  <RecapTerms>String</RecapTerms>
  <Rejected>false</Rejected>
  <TermsAndConditions>String</TermsAndConditions>
  <ToEntityContactId>0</ToEntityContactId>
  <VesselId>0</VesselId>
  <VesselName>String</VesselName>
</GetRecapDetailsViewModel>