Bridge

<back to all web services

EnquiriesDetails

Enquiries
The following routes are available for this service:
GET/Enquiries/Details
EnquiriesDetails Parameters:
NameParameterData TypeRequiredDescription
IdqueryGuidNo
GetEnquiryDetailsViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
AccessCodeformintNo
EntityContactIdformintNo
GuidformGuidNo
PortCodeformstringNo
PortNameformstringNo
CountryNameformstringNo
FlagRoundformbyte[]No
DateFromformDateTimeNo
DateToformDateTimeNo
AgentNameformstringNo
BuyerAccountNameformstringNo
RequestTermsformstringNo
GeneralCommentsformstringNo
VesselNameformstringNo
IMONumberformintNo
ScratchpadIdformintNo
ScratchpadformstringNo
DeliveryMethodformstringNo
SingleChatGuidformGuid?No
SingleChatEntityIdformintNo
TotalChatsformintNo
ChatIdsformList<Guid>No
RiskRatingSubscriptionStatusformboolNo
WindwardReportLiveformboolNo
WindwardReportExpiryDateTimeformDateTimeNo
LatestRAGStatusformstringNo
VesselWindwardUrlformstringNo
PortIdformintNo
CanForwardEnquiryformboolNo
VesselIdformintNo
DeliveryMethodIdformint?No
CreditTermDaysformintNo
RequestedTermsTypeformstringNo
ButtonGroupformstringNo
CanSendBroadcastChatformboolNo
AccountIdformintNo
ChatListformstringNo
EntityContactformEntityContactViewModelNo
GetEnquiryGradesformList<GetEnquiryGradesViewModel>No
EntityContactViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
GuidformGuidNo
EntityIdformintNo
FirstNameformstringNo
LastNameformstringNo
InitialsformstringNo
PasswordformstringNo
EmailAddressformstringNo
DarkModeformboolNo
EntityformEntityViewModelNo
LastActiveformDateTime?No
ImageGuidformGuidNo
DialingCodeCountryIdformint?No
TelephoneNumberformstringNo
IsBridgeClientformboolNo
AccessLevelsformList<GetAllAccessLevelsForEntityContactIdViewModel>No
EntityViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
GuidformGuidNo
TypeformstringNo
NameformstringNo
SuperTraderformboolNo
CompanyDomainformstringNo
KYCStartedByformintNo
KYCCompletedByformintNo
ETSMOHAAccountformstringNo
GetAllAccessLevelsForEntityContactIdViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
AllowedformboolNo
NameformstringNo
DescriptionformstringNo
PrettyTextformstringNo
GetEnquiryGradesViewModel Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
QuantityFromformintNo
QuantityToformintNo
QuantityformstringNo
CommentsformstringNo
GradeformstringNo
ProductIdformintNo
VersionIdformintNo
GradeIdformintNo
UnitIdformintNo

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 /Enquiries/Details HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Id: 0,
	AccessCode: 0,
	EntityContactId: 0,
	Guid: 00000000000000000000000000000000,
	PortCode: String,
	PortName: String,
	CountryName: String,
	FlagRound: AA==,
	DateFrom: 0001-01-01,
	DateTo: 0001-01-01,
	AgentName: String,
	BuyerAccountName: String,
	RequestTerms: String,
	GeneralComments: String,
	VesselName: String,
	IMONumber: 0,
	ScratchpadId: 0,
	Scratchpad: String,
	DeliveryMethod: String,
	SingleChatGuid: 00000000000000000000000000000000,
	SingleChatEntityId: 0,
	TotalChats: 0,
	ChatIds: 
	[
		00000000000000000000000000000000
	],
	RiskRatingSubscriptionStatus: False,
	WindwardReportLive: False,
	WindwardReportExpiryDateTime: 0001-01-01,
	LatestRAGStatus: String,
	VesselWindwardUrl: String,
	PortId: 0,
	CanForwardEnquiry: False,
	VesselId: 0,
	DeliveryMethodId: 0,
	CreditTermDays: 0,
	RequestedTermsType: String,
	ButtonGroup: String,
	CanSendBroadcastChat: False,
	AccountId: 0,
	ChatList: String,
	EntityContact: 
	{
		Id: 0,
		Guid: 00000000000000000000000000000000,
		EntityId: 0,
		FirstName: String,
		LastName: String,
		Initials: String,
		Password: String,
		EmailAddress: String,
		DarkMode: False,
		Entity: 
		{
			Id: 0,
			Guid: 00000000000000000000000000000000,
			Type: String,
			Name: String,
			SuperTrader: False,
			CompanyDomain: String,
			KYCStartedBy: 0,
			KYCCompletedBy: 0,
			ETSMOHAAccount: String
		},
		LastActive: 0001-01-01,
		ImageGuid: 00000000000000000000000000000000,
		DialingCodeCountryId: 0,
		TelephoneNumber: String,
		IsBridgeClient: False,
		AccessLevels: 
		[
			{
				Id: 0,
				Allowed: False,
				Name: String,
				Description: String,
				PrettyText: String
			}
		]
	},
	GetEnquiryGrades: 
	[
		{
			Id: 0,
			QuantityFrom: 0,
			QuantityTo: 0,
			Quantity: String,
			Comments: String,
			Grade: String,
			ProductId: 0,
			VersionId: 0,
			GradeId: 0,
			UnitId: 0
		}
	]
}