| POST | /Submit-Deal-Recap |
|---|
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 .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Submit-Deal-Recap HTTP/1.1
Host: internal.thebunkerbridge.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
EnquiryId: 0,
EnquiryGuid: 00000000000000000000000000000000,
ChatGuid: 00000000000000000000000000000000,
IMONumber: 0,
VesselId: 0,
VesselName: String,
BuyerAccountName: String,
DateFrom: 0001-01-01,
DateTo: 0001-01-01,
PortId: 0,
DeliveryMethodId: 0,
BuyerSellerAccountId: 0,
RequestedTermsType: String,
CreditTermDays: 0,
RecapComments: String,
Agent: String,
AdditionalCosts: String,
FromEntityContactId: 0,
DocumentTitle: String,
RecapCanBeSent: False,
DealRecapEnquiryGrades:
[
{
Id: 0,
Deleted: False,
ProductId: 0,
VersionId: 0,
GradeId: 0,
SpecificationComments: String,
VolumeFrom: 0,
VolumeTo: 0,
UnitId: 0,
VolumeUnitId: 0,
UnitPrice: 0,
CurrencyId: 0
}
]
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
RecapId: 0,
RecapGuid: String,
DocumentTitle: String,
ChattingWithEntityContactId: 0
}