| POST | /Confirmations/Create |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IMONumberOrMMSI | body | string | No | |
| VesselId | body | int? | No | |
| DateFrom | body | DateTime? | No | |
| DateTo | body | DateTime? | No | |
| PortId | body | int? | No | |
| DeliveryMethodId | body | int? | No | |
| Agent | body | string | No | |
| SellingAccountId | body | int? | No | |
| BuyingAccountId | body | int? | No | |
| RequestedTermsType | body | string | No | |
| CreditTermDays | body | int? | No | |
| VesselType | body | string | No | |
| RecapComments | body | string | No | |
| AgentDetails | body | string | No | |
| AdditionalCosts | body | string | No | |
| BuyerCompany | body | string | No | |
| BuyerEmailAddress | body | string | No | |
| ConfirmationGrades | body | List<ConfirmationGradesViewModel> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int? | No | |
| Deleted | form | bool | No | |
| ProductId | form | int? | No | |
| VersionId | form | int? | No | |
| GradeId | form | int? | No | |
| SpecificationComments | form | string | No | |
| VolumeFrom | form | int? | No | |
| VolumeTo | form | int? | No | |
| UnitId | form | int? | No | |
| VolumeUnitId | form | int? | No | |
| UnitPrice | form | double? | No | |
| CurrencyId | form | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int? | No | |
| GuidId | form | Guid? | No | |
| Status | form | SavingResultStatus | No | |
| Errors | form | List<SavingResultErrors> | No |
| Success | |
| Error |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Error | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /Confirmations/Create HTTP/1.1
Host: internal.thebunkerbridge.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"IMONumberOrMMSI":"String","VesselId":0,"DateFrom":"0001-01-01T00:00:00.0000000","DateTo":"0001-01-01T00:00:00.0000000","PortId":0,"DeliveryMethodId":0,"Agent":"String","SellingAccountId":0,"BuyingAccountId":0,"RequestedTermsType":"String","CreditTermDays":0,"VesselType":"String","RecapComments":"String","AgentDetails":"String","AdditionalCosts":"String","BuyerCompany":"String","BuyerEmailAddress":"String","ConfirmationGrades":[{"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: application/json
Content-Length: length
{"Id":0,"GuidId":"00000000000000000000000000000000","Status":"Success","Errors":[{"Error":"String"}]}