Bridge

<back to all web services

EnquiryEditResult

Enquiries
The following routes are available for this service:
POST/Enquiries/Edit/Result
System.NotSupportedException: Unknown language 'mjs', Supported languages: csharp, typescript, dart, java, kotlin, python, swift, vbnet, fsharp
   at ServiceStack.NativeTypes.LangGeneratorExtensions.GenerateSourceCode(MetadataTypes metadataTypes, MetadataTypesConfig typesConfig, String lang, IRequest req, Action`1 configure) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/ILangGenerator.cs:line 53
   at ServiceStack.NativeTypes.LangGeneratorExtensions.GenerateSourceCode(List`1 metadataTypes, String lang, IRequest req, Action`1 configure) in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/NativeTypes/ILangGenerator.cs:line 26
   at ServiceStack.Metadata.BaseMetadataHandler.d__12.MoveNext() in /home/runner/work/ServiceStack/ServiceStack/ServiceStack/src/ServiceStack/Metadata/BaseMetadataHandler.cs:line 207

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.

POST /Enquiries/Edit/Result HTTP/1.1 
Host: internal.thebunkerbridge.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<EnquiryEditResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Private.Api.DTO">
  <AccountId>0</AccountId>
  <Agent>String</Agent>
  <CreditTermDays>0</CreditTermDays>
  <DateFrom>0001-01-01T00:00:00</DateFrom>
  <DateTo>0001-01-01T00:00:00</DateTo>
  <DeliveryMethodId>0</DeliveryMethodId>
  <EnquiryGradesEdit xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
    <d2p1:EnquiryGradesEditViewModel>
      <d2p1:Deleted>false</d2p1:Deleted>
      <d2p1:GradeId>0</d2p1:GradeId>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:ProductId>0</d2p1:ProductId>
      <d2p1:SpecificationComments>String</d2p1:SpecificationComments>
      <d2p1:UnitId>0</d2p1:UnitId>
      <d2p1:VersionId>0</d2p1:VersionId>
      <d2p1:VolumeFrom>0</d2p1:VolumeFrom>
      <d2p1:VolumeTo>0</d2p1:VolumeTo>
    </d2p1:EnquiryGradesEditViewModel>
  </EnquiryGradesEdit>
  <GeneralComments>String</GeneralComments>
  <GetDeliveryMethods xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
    <d2p1:GetDeliveryMethodsViewModel>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Name>String</d2p1:Name>
    </d2p1:GetDeliveryMethodsViewModel>
  </GetDeliveryMethods>
  <GetEntityAccounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
    <d2p1:EntityAccountsViewModel>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:LinkedVesselId>0</d2p1:LinkedVesselId>
      <d2p1:Name>String</d2p1:Name>
      <d2p1:Type>String</d2p1:Type>
    </d2p1:EntityAccountsViewModel>
  </GetEntityAccounts>
  <GetGrades xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
    <d2p1:GetGradesViewModel>
      <d2p1:Deleted>false</d2p1:Deleted>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Index>0</d2p1:Index>
      <d2p1:Name>String</d2p1:Name>
    </d2p1:GetGradesViewModel>
  </GetGrades>
  <GetProducts xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
    <d2p1:GetProductsViewModel>
      <d2p1:Deleted>false</d2p1:Deleted>
      <d2p1:ETSMultiplication>0</d2p1:ETSMultiplication>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Index>0</d2p1:Index>
      <d2p1:Name>String</d2p1:Name>
    </d2p1:GetProductsViewModel>
  </GetProducts>
  <GetUnits xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
    <d2p1:GetUnitsViewModel>
      <d2p1:Code>String</d2p1:Code>
      <d2p1:Deleted>false</d2p1:Deleted>
      <d2p1:Id>0</d2p1:Id>
    </d2p1:GetUnitsViewModel>
  </GetUnits>
  <GetVersions xmlns:d2p1="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
    <d2p1:GetVersionsViewModel>
      <d2p1:Deleted>false</d2p1:Deleted>
      <d2p1:Id>0</d2p1:Id>
      <d2p1:Index>0</d2p1:Index>
      <d2p1:Name>String</d2p1:Name>
    </d2p1:GetVersionsViewModel>
  </GetVersions>
  <Guid>00000000-0000-0000-0000-000000000000</Guid>
  <IMONumberOrMMSI>String</IMONumberOrMMSI>
  <Id>0</Id>
  <RequestedTermsType>String</RequestedTermsType>
  <VesselId>0</VesselId>
</EnquiryEditResult>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<EditEnquiryResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bridge.Core.ViewModels">
  <MessageFromBridge>String</MessageFromBridge>
  <Status>Success</Status>
</EditEnquiryResultViewModel>