Skip to content

Storm Query API Documentation (2.0)

Storm Query API is an API based on OData V4. It is an API to fill the need for data from Storm in integration services that do not have direct access to Storm’s data and data models.

Download OpenAPI description
Languages
Servers
https://customer-slug.api-se.norce.tech/commerce/query/2.0/

Schemas

Schemas

Enferno.Storm.Query.Api.DataContexts.OrderModel.Quotation

Idinteger(int32)

Id. Key property.

ApplicationIdinteger(int32)

ApplicationId.

SalesContactIdinteger(int32)

SalesContactId. Nullable.

BuyerAccountKeystring(guid)

BuyerAccountKey.

BuyerAccountIdinteger(int32)

BuyerAccountId. Nullable.

PayerAccountIdinteger(int32)

PayerAccountId. Nullable.

PayerAccountKeystring(guid)

PayerAccountKey. Nullable.

StatusIdinteger(int32)

StatusId.

IsPrimaryboolean

IsPrimary.

Namestring

Name. MaxLength: 50. Nullable.

ValidTostring(date-time)

ValidTo. Nullable.

IsDeletableboolean

IsDeletable.

DeleteDatestring(date-time)

DeleteDate. Nullable.

Commentstring

Comment. MaxLength: 250. Nullable.

RejectionReasonIdinteger(int32)

RejectionReasonId. Nullable.

Modifiedstring(date-time)

Modified. Nullable.

Browsedstring(date-time)

Browsed. Nullable.

PaymentMethodIdinteger(int32)

PaymentMethodId. Nullable.

DeliveryMethodIdinteger(int32)

DeliveryMethodId. Nullable.

IpAddressstring

IpAddress. MaxLength: 50. Nullable.

PayerFirstNamestring

PayerFirstName. MaxLength: 50. Nullable.

PayerMiddleNamestring

PayerMiddleName. MaxLength: 50. Nullable.

PayerLastNamestring

PayerLastName. MaxLength: 50. Nullable.

PayerCellPhoneNumberstring

PayerCellPhoneNumber. MaxLength: 50. Nullable.

PayerEmailstring

PayerEmail. MaxLength: 255. Nullable.

CurrencyIdinteger(int32)

CurrencyId.

ResellerCustomerIdinteger(int32)

ResellerCustomerId. Nullable.

IsLockedboolean

IsLocked. Nullable.

DiscountCodestring

DiscountCode. Nullable.

IsActiveboolean

IsActive. Nullable.

ParentQuotationIdinteger(int32)

ParentQuotationId. Nullable.

ClientIdinteger(int32)

ClientId. Nullable.

BuyerCompanyIdinteger(int32)

BuyerCompanyId. Nullable.

PayerCompanyIdinteger(int32)

PayerCompanyId. Nullable.

HasPaymentTransactionboolean

HasPaymentTransaction. Nullable.

BuyerFirstNamestring

BuyerFirstName. MaxLength: 50. Nullable.

BuyerMiddleNamestring

BuyerMiddleName. MaxLength: 50. Nullable.

BuyerLastNamestring

BuyerLastName. MaxLength: 50. Nullable.

BuyerCellPhoneNumberstring

BuyerCellPhoneNumber. MaxLength: 50. Nullable.

BuyerEmailstring

BuyerEmail. MaxLength: 255. Nullable.

CustomerOrderReferencestring

CustomerOrderReference. MaxLength: 50. Nullable.

Createdstring(date-time)

Created. Nullable.

CreatedByinteger(int32)

CreatedBy. Nullable.

ReferIdinteger(int32)

ReferId. Nullable.

ReferUrlstring

ReferUrl. MaxLength: 255. Nullable.

PayerSocialSecurityNumberstring

PayerSocialSecurityNumber. MaxLength: 50. Nullable.

BuyerCustomerIdinteger(int32)

BuyerCustomerId. Nullable.

PayerCustomerIdinteger(int32)

PayerCustomerId. Nullable.

ShipToCustomerIdinteger(int32)

ShipToCustomerId. Nullable.

RowIdstring

RowId. MaxLength: 8. Nullable.

PickupCodestring

PickupCode. MaxLength: 50. Nullable.

AttestedByinteger(int32)

AttestedBy. Nullable.

ModifiedByinteger(int32)

ModifiedBy. Nullable.

TypeIdinteger(int32)

TypeId. Nullable.

DoHoldboolean

DoHold.

DeliveryMethodCodestring

DeliveryMethodCode. MaxLength: 50. Nullable.

FreightPricenumber(decimal)

FreightPrice. Nullable.

InfosArray of objects(Enferno.Storm.Query.Api.DataContexts.OrderModel.QuotationInfo)(Enferno.Storm.Query.Api.DataContexts.OrderModel.QuotationInfo)

Infos.

ItemsArray of objects(OrderService.QuotationItem)(OrderService.QuotationItem)

Items.

AddressesArray of objects(OrderService.QuotationCustomerAddress)(OrderService.QuotationCustomerAddress)

Addresses.

{ "Id": 0, "ApplicationId": 0, "SalesContactId": 0, "BuyerAccountKey": "string", "BuyerAccountId": 0, "PayerAccountId": 0, "PayerAccountKey": "string", "StatusId": 0, "IsPrimary": true, "Name": "string", "ValidTo": "2019-08-24T14:15:22Z", "IsDeletable": true, "DeleteDate": "2019-08-24T14:15:22Z", "Comment": "string", "RejectionReasonId": 0, "Modified": "2019-08-24T14:15:22Z", "Browsed": "2019-08-24T14:15:22Z", "PaymentMethodId": 0, "DeliveryMethodId": 0, "IpAddress": "string", "PayerFirstName": "string", "PayerMiddleName": "string", "PayerLastName": "string", "PayerCellPhoneNumber": "string", "PayerEmail": "string", "CurrencyId": 0, "ResellerCustomerId": 0, "IsLocked": true, "DiscountCode": "string", "IsActive": true, "ParentQuotationId": 0, "ClientId": 0, "BuyerCompanyId": 0, "PayerCompanyId": 0, "HasPaymentTransaction": true, "BuyerFirstName": "string", "BuyerMiddleName": "string", "BuyerLastName": "string", "BuyerCellPhoneNumber": "string", "BuyerEmail": "string", "CustomerOrderReference": "string", "Created": "2019-08-24T14:15:22Z", "CreatedBy": 0, "ReferId": 0, "ReferUrl": "string", "PayerSocialSecurityNumber": "string", "BuyerCustomerId": 0, "PayerCustomerId": 0, "ShipToCustomerId": 0, "RowId": "string", "PickupCode": "string", "AttestedBy": 0, "ModifiedBy": 0, "TypeId": 0, "DoHold": true, "DeliveryMethodCode": "string", "FreightPrice": 0, "Infos": [ {} ], "Items": [ {} ], "Addresses": [ {} ] }

Enferno.Storm.Query.Api.DataContexts.OrderModel.PurchaseOrder

Idstring

Id. Key property.

ClientIdinteger(int32)

ClientId.

ApplicationIdinteger(int32)

ApplicationId. Nullable.

PurchaseOrderNostring

PurchaseOrderNo. MaxLength: 50. Nullable.

PurchaseOrderDatestring(date-time)

PurchaseOrderDate.

SupplierIdinteger(int32)

SupplierId. Nullable.

SupplierCodestring

SupplierCode. MaxLength: 50. Nullable.

StatusIdinteger(int32)

StatusId.

PurchaseRepContactIdinteger(int32)

PurchaseRepContactId. Nullable.

PurchaseRepContactCodestring

PurchaseRepContactCode. MaxLength: 50. Nullable.

Sourcestring

Source. MaxLength: 255. Nullable.

DeliveryTermsstring

DeliveryTerms. MaxLength: 10. Nullable.

DeliveryModestring

DeliveryMode. MaxLength: 50. Nullable.

DeliveryDatestring(date-time)

DeliveryDate. Nullable.

IsPartDeliveryboolean

IsPartDelivery.

PaymentTermsstring

PaymentTerms. MaxLength: 100. Nullable.

CurrencyIdinteger(int32)

CurrencyId. Nullable.

VatCodeIdinteger(int32)

VatCodeId. Nullable.

CashDiscountnumber(decimal)

CashDiscount.

LineDiscountnumber(decimal)

LineDiscount.

FreightCostnumber(decimal)

FreightCost.

OrderFeenumber(decimal)

OrderFee.

DeliveryAttentionstring

DeliveryAttention. MaxLength: 100. Nullable.

DeliveryCareOfstring

DeliveryCareOf. MaxLength: 100. Nullable.

DeliveryAddressLine1string

DeliveryAddressLine1. MaxLength: 255. Nullable.

DeliveryAddressLine2string

DeliveryAddressLine2. MaxLength: 255. Nullable.

DeliveryZipCodestring

DeliveryZipCode. MaxLength: 50. Nullable.

DeliveryCitystring

DeliveryCity. MaxLength: 50. Nullable.

DeliveryRegionstring

DeliveryRegion. MaxLength: 100. Nullable.

DeliveryCountryIdinteger(int32)

DeliveryCountryId. Nullable.

LedgerAccountstring

LedgerAccount. MaxLength: 50. Nullable.

Departmentstring

Department. MaxLength: 10. Nullable.

Centrestring

Centre. MaxLength: 10. Nullable.

ExternalPurchaseNostring

ExternalPurchaseNo. MaxLength: 50. Nullable.

SalesCodestring

SalesCode. MaxLength: 50. Nullable.

DeliveryMarkstring

DeliveryMark. MaxLength: 255. Nullable.

InvoiceMarkstring

InvoiceMark. MaxLength: 255. Nullable.

Commentstring

Comment. Nullable.

SellToCustomerCodestring

SellToCustomerCode. MaxLength: 50. Nullable.

SellToSupplierCustomerCodestring

SellToSupplierCustomerCode. MaxLength: 50. Nullable.

SellToAddressIdstring

SellToAddressId. Nullable.

BillToCustomerCodestring

BillToCustomerCode. MaxLength: 50. Nullable.

BillToSupplierCustomerCodestring

BillToSupplierCustomerCode. MaxLength: 50. Nullable.

BillToAddressIdstring

BillToAddressId. Nullable.

ShipToCustomerCodestring

ShipToCustomerCode. MaxLength: 50. Nullable.

ShipToSupplierCustomerCodestring

ShipToSupplierCustomerCode. MaxLength: 50. Nullable.

ShipToAddressIdstring

ShipToAddressId. Nullable.

ShipToEmailstring

ShipToEmail. MaxLength: 255. Nullable.

ShipToPhonestring

ShipToPhone. MaxLength: 50. Nullable.

Createdstring(date-time)

Created.

CreatedByinteger(int32)

CreatedBy.

Updatedstring(date-time)

Updated. Nullable.

UpdatedByinteger(int32)

UpdatedBy. Nullable.

RowIdstring

RowId. MaxLength: 8. Nullable.

BillToCustomerInfoIdstring

BillToCustomerInfoId. Nullable.

CurrencyCodestring

CurrencyCode. MaxLength: 3. Nullable.

FreightTermsstring

FreightTerms. MaxLength: 255. Nullable.

InternalCommentstring

InternalComment. MaxLength: 255. Nullable.

SupplierStatusIdinteger(int32)

SupplierStatusId. Nullable.

IsForgottenboolean

IsForgotten.

ForgottenByinteger(int32)

ForgottenBy. Nullable.

ForgottenDatestring(date-time)

ForgottenDate. Nullable.

ItemsArray of objects(OrderService.PurchaseOrderItem)(OrderService.PurchaseOrderItem)

Items.

ShipToAddressobject(OrderService.Address)(OrderService.Address)
SellToAddressobject(OrderService.Address)(OrderService.Address)
BillToAddressobject(OrderService.Address)(OrderService.Address)
{ "Id": "string", "ClientId": 0, "ApplicationId": 0, "PurchaseOrderNo": "string", "PurchaseOrderDate": "2019-08-24T14:15:22Z", "SupplierId": 0, "SupplierCode": "string", "StatusId": 0, "PurchaseRepContactId": 0, "PurchaseRepContactCode": "string", "Source": "string", "DeliveryTerms": "string", "DeliveryMode": "string", "DeliveryDate": "2019-08-24T14:15:22Z", "IsPartDelivery": true, "PaymentTerms": "string", "CurrencyId": 0, "VatCodeId": 0, "CashDiscount": 0, "LineDiscount": 0, "FreightCost": 0, "OrderFee": 0, "DeliveryAttention": "string", "DeliveryCareOf": "string", "DeliveryAddressLine1": "string", "DeliveryAddressLine2": "string", "DeliveryZipCode": "string", "DeliveryCity": "string", "DeliveryRegion": "string", "DeliveryCountryId": 0, "LedgerAccount": "string", "Department": "string", "Centre": "string", "ExternalPurchaseNo": "string", "SalesCode": "string", "DeliveryMark": "string", "InvoiceMark": "string", "Comment": "string", "SellToCustomerCode": "string", "SellToSupplierCustomerCode": "string", "SellToAddressId": "string", "BillToCustomerCode": "string", "BillToSupplierCustomerCode": "string", "BillToAddressId": "string", "ShipToCustomerCode": "string", "ShipToSupplierCustomerCode": "string", "ShipToAddressId": "string", "ShipToEmail": "string", "ShipToPhone": "string", "Created": "2019-08-24T14:15:22Z", "CreatedBy": 0, "Updated": "2019-08-24T14:15:22Z", "UpdatedBy": 0, "RowId": "string", "BillToCustomerInfoId": "string", "CurrencyCode": "string", "FreightTerms": "string", "InternalComment": "string", "SupplierStatusId": 0, "IsForgotten": true, "ForgottenBy": 0, "ForgottenDate": "2019-08-24T14:15:22Z", "Items": [ {} ], "ShipToAddress": { "Id": "string", "TypeId": 0, "Name": "string", "Attention": "string", "CareOf": "string", "Line1": "string", "Line2": "string", "ZipCode": "string", "City": "string", "Region": "string", "CountryId": 0, "Created": "2019-08-24T14:15:22Z", "CreatedBy": 0, "RowId": "string", "EmailAddress": "string", "PhoneNumber": "string", "ClientId": 0, "ShippingPhoneNumber": "string", "Gln": "string" }, "SellToAddress": { "Id": "string", "TypeId": 0, "Name": "string", "Attention": "string", "CareOf": "string", "Line1": "string", "Line2": "string", "ZipCode": "string", "City": "string", "Region": "string", "CountryId": 0, "Created": "2019-08-24T14:15:22Z", "CreatedBy": 0, "RowId": "string", "EmailAddress": "string", "PhoneNumber": "string", "ClientId": 0, "ShippingPhoneNumber": "string", "Gln": "string" }, "BillToAddress": { "Id": "string", "TypeId": 0, "Name": "string", "Attention": "string", "CareOf": "string", "Line1": "string", "Line2": "string", "ZipCode": "string", "City": "string", "Region": "string", "CountryId": 0, "Created": "2019-08-24T14:15:22Z", "CreatedBy": 0, "RowId": "string", "EmailAddress": "string", "PhoneNumber": "string", "ClientId": 0, "ShippingPhoneNumber": "string", "Gln": "string" } }

Enferno.Storm.Query.Api.DataContexts.OrderModel.DeliveryNote

Idstring

Id. Key property.

ClientIdinteger(int32)

ClientId.

NoteNostring

NoteNo. MaxLength: 50. Nullable.

SupplierIdinteger(int32)

SupplierId. Nullable.

TypeIdinteger(int32)

TypeId.

ReferenceOrderIdstring

ReferenceOrderId.

BuyerCompanyIdinteger(int32)

BuyerCompanyId. Nullable.

BuyerCompanyCodestring

BuyerCompanyCode. MaxLength: 50. Nullable.

BuyerCustomerIdinteger(int32)

BuyerCustomerId. Nullable.

BuyerCustomerCodestring

BuyerCustomerCode. MaxLength: 50. Nullable.

PayerCompanyIdinteger(int32)

PayerCompanyId. Nullable.

PayerCompanyCodestring

PayerCompanyCode. MaxLength: 50. Nullable.

PayerCustomerIdinteger(int32)

PayerCustomerId. Nullable.

PayerCustomerCodestring

PayerCustomerCode. MaxLength: 50. Nullable.

ResellerCompanyIdinteger(int32)

ResellerCompanyId. Nullable.

ResellerCompanyCodestring

ResellerCompanyCode. MaxLength: 50. Nullable.

ResellerCustomerIdinteger(int32)

ResellerCustomerId. Nullable.

ResellerCustomerCodestring

ResellerCustomerCode. MaxLength: 50. Nullable.

GroupCodestring

GroupCode. MaxLength: 50. Nullable.

DeliveryNamestring

DeliveryName. MaxLength: 100. Nullable.

DeliveryAttentionstring

DeliveryAttention. MaxLength: 100. Nullable.

DeliveryCareOfstring

DeliveryCareOf. MaxLength: 100. Nullable.

DeliveryAddressLine1string

DeliveryAddressLine1. MaxLength: 255. Nullable.

DeliveryAddressLine2string

DeliveryAddressLine2. MaxLength: 255. Nullable.

DeliveryZipCodestring

DeliveryZipCode. MaxLength: 50. Nullable.

DeliveryCitystring

DeliveryCity. MaxLength: 50. Nullable.

DeliveryRegionstring

DeliveryRegion. MaxLength: 100. Nullable.

DeliveryCountryIdinteger(int32)

DeliveryCountryId. Nullable.

DeliveryDatestring(date-time)

DeliveryDate. Nullable.

Quantitynumber(decimal)

Quantity. Nullable.

Volumenumber(decimal)

Volume. Nullable.

Weightnumber(decimal)

Weight. Nullable.

IsPrintedboolean

IsPrinted.

DeliveryTermsstring

DeliveryTerms. MaxLength: 10. Nullable.

DeliveryModestring

DeliveryMode. MaxLength: 50. Nullable.

Sourcestring

Source. MaxLength: 255. Nullable.

DeliveryMarkstring

DeliveryMark. MaxLength: 255. Nullable.

NoteTextstring

NoteText. MaxLength: 255. Nullable.

Departmentstring

Department. MaxLength: 10. Nullable.

Centrestring

Centre. MaxLength: 10. Nullable.

ShippingNostring

ShippingNo. MaxLength: 50. Nullable.

Createdstring(date-time)

Created.

CreatedByinteger(int32)

CreatedBy.

Updatedstring(date-time)

Updated. Nullable.

UpdatedByinteger(int32)

UpdatedBy. Nullable.

DeliveryAddressIdstring

DeliveryAddressId. Nullable.

DivisionCodestring

DivisionCode. MaxLength: 50. Nullable.

StatusIdinteger(int32)

StatusId.

IsForgottenboolean

IsForgotten.

ForgottenByinteger(int32)

ForgottenBy. Nullable.

ForgottenDatestring(date-time)

ForgottenDate. Nullable.

ItemsArray of objects(OrderService.DeliveryNoteItem)(OrderService.DeliveryNoteItem)

Items.

PackagesArray of objects(OrderService.DeliveryNotePackage)(OrderService.DeliveryNotePackage)

Packages.

{ "Id": "string", "ClientId": 0, "NoteNo": "string", "SupplierId": 0, "TypeId": 0, "ReferenceOrderId": "string", "BuyerCompanyId": 0, "BuyerCompanyCode": "string", "BuyerCustomerId": 0, "BuyerCustomerCode": "string", "PayerCompanyId": 0, "PayerCompanyCode": "string", "PayerCustomerId": 0, "PayerCustomerCode": "string", "ResellerCompanyId": 0, "ResellerCompanyCode": "string", "ResellerCustomerId": 0, "ResellerCustomerCode": "string", "GroupCode": "string", "DeliveryName": "string", "DeliveryAttention": "string", "DeliveryCareOf": "string", "DeliveryAddressLine1": "string", "DeliveryAddressLine2": "string", "DeliveryZipCode": "string", "DeliveryCity": "string", "DeliveryRegion": "string", "DeliveryCountryId": 0, "DeliveryDate": "2019-08-24T14:15:22Z", "Quantity": 0, "Volume": 0, "Weight": 0, "IsPrinted": true, "DeliveryTerms": "string", "DeliveryMode": "string", "Source": "string", "DeliveryMark": "string", "NoteText": "string", "Department": "string", "Centre": "string", "ShippingNo": "string", "Created": "2019-08-24T14:15:22Z", "CreatedBy": 0, "Updated": "2019-08-24T14:15:22Z", "UpdatedBy": 0, "DeliveryAddressId": "string", "DivisionCode": "string", "StatusId": 0, "IsForgotten": true, "ForgottenBy": 0, "ForgottenDate": "2019-08-24T14:15:22Z", "Items": [ {} ], "Packages": [ {} ] }

Orders

Operations