Bridge

<back to all web services

DealRecap

Deal Recaps
The following routes are available for this service:
GET/Deal-Recap
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Bridge.Private.Api.DTO;
using Bridge.Core.ViewModels;

namespace Bridge.Core.ViewModels
{
    public partial class GetRecapDetailsViewModel
    {
        public GetRecapDetailsViewModel()
        {
            CompanyLogo = new byte[]{};
            CountryFlag = new byte[]{};
        }

        public virtual Guid Guid { get; set; }
        public virtual string DocumentTitle { get; set; }
        public virtual string GeneralComments { get; set; }
        public virtual int EnquiryId { get; set; }
        public virtual Guid EnquiryGuid { get; set; }
        public virtual byte[] CompanyLogo { get; set; }
        public virtual string FromContactName { get; set; }
        public virtual Guid ContactGuid { get; set; }
        public virtual string EntityName { get; set; }
        public virtual string VesselName { get; set; }
        public virtual int IMONumber { get; set; }
        public virtual string PortCode { get; set; }
        public virtual string PortName { get; set; }
        public virtual string CountryName { get; set; }
        public virtual byte[] CountryFlag { get; set; }
        public virtual DateTime DateFrom { get; set; }
        public virtual DateTime DateTo { get; set; }
        public virtual string BuyerAccountName { get; set; }
        public virtual string DeliveryMethod { get; set; }
        public virtual string AgentDetails { get; set; }
        public virtual string RecapTerms { get; set; }
        public virtual string AdditionalCosts { get; set; }
        public virtual string RecapGrades { get; set; }
        public virtual bool? Accepted { get; set; }
        public virtual bool? Rejected { get; set; }
        public virtual int FromEntityContactId { get; set; }
        public virtual int ToEntityContactId { get; set; }
        public virtual string RecapComments { get; set; }
        public virtual string TermsAndConditions { get; set; }
        public virtual Guid ImageGuid { get; set; }
        public virtual int VesselId { get; set; }
        public virtual bool ConfirmationOnly { get; set; }
    }

}

namespace Bridge.Private.Api.DTO
{
    public partial class DealRecap
    {
        public virtual Guid Guid { get; set; }
    }

}

C# DealRecap DTOs

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

HTTP + JSV

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

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

{
	Guid: 00000000000000000000000000000000,
	DocumentTitle: String,
	GeneralComments: String,
	EnquiryId: 0,
	EnquiryGuid: 00000000000000000000000000000000,
	CompanyLogo: AA==,
	FromContactName: String,
	ContactGuid: 00000000000000000000000000000000,
	EntityName: String,
	VesselName: String,
	IMONumber: 0,
	PortCode: String,
	PortName: String,
	CountryName: String,
	CountryFlag: AA==,
	DateFrom: 0001-01-01,
	DateTo: 0001-01-01,
	BuyerAccountName: String,
	DeliveryMethod: String,
	AgentDetails: String,
	RecapTerms: String,
	AdditionalCosts: String,
	RecapGrades: String,
	Accepted: False,
	Rejected: False,
	FromEntityContactId: 0,
	ToEntityContactId: 0,
	RecapComments: String,
	TermsAndConditions: String,
	ImageGuid: 00000000000000000000000000000000,
	VesselId: 0,
	ConfirmationOnly: False
}