Show / Hide Table of Contents

    Inquiries

    Queryable, Introduced in version 2.30

    GET https://localhost:8001/sv/001.1/api/v1/Purchase/Inquiries
    

    Represents an inquiry.

    GUID

    83CDAF78-6D8B-4397-BBC0-D42061CA901D
    

    Required permission

    Show inquiry
    

    Properties

    Name Type Summary Introduced in
    Id Int64 The business key identifier of the inquiry.
    PaymentTermId Int64? The business key identifier of the inquiry's payment term.

    References PaymentTerms
    PaymentTerm PaymentTerms The payment term of the inquiry.

    • Expandable
    PaymentTermDescription String The payment term description of the inquiry.

    • Max length is 35
    GracePeriodInDays Int32? The inquiry's grace period in days.
    DeliveryMethodId Int64? The business key identifier of the inquiry's delivery method.

    References DeliveryMethods
    DeliveryTermId Int64? The business key identifier of the inquiry's delivery term.

    References DeliveryTerms
    DeliveryTermDescription String The delivery term description of the inquiry.

    • Max length is 35
    DeliveryMethodDescription String The delivery method description of the inquiry.

    • Max length is 35
    BusinessContactOrderNumber String The supplier's inquiry number.

    • Max length is 30
    OurReferenceId Int64? The business key identifier of our reference on the inquiry.

    Reference Persons
    OurReferenceName String The name of our reference on the inquiry.

    • Max length is 80
    BusinessContactReferenceId Int64? The business key identifier of the supplier's reference on the inquiry.

    Reference Persons
    BusinessContactReferenceName String The name of the supplier's reference on the inquiry.

    • Max length is 80
    GoodsLabel String The goods label of the inquiry.

    • Max length is 80
    CurrencyId Int64 The business key identifier of the inquiry's currency.

    References Currencies
    VatGroupId Int64 The business key identifier of the inquiry's VAT group.

    References VatGroups
    WarehouseId Int64 The business key identifier of the inquiry's warehouse.

    References Warehouses
    Priority Int32 The priority of the inquiry.
    ProjectId Int64? The business key identifier of the inquiry's project.

    References Project
    SendMethod Int32 Specifies the method of the inquiry printout.

    • Printer: 0
    • Email: 1
    • Edi: 2
    • None: 9
    InternalCommentId Int64? The business key identifier of the inquiry's internal comment.

    References Comments
    InternalComment Comments The internal comment of the inquiry.

    • Expandable
    ExternalCommentId Int64? The business key identifier of the inquiry's external comment.

    References Comments
    ExternalComment Comments The external comment of the inquiry.

    • Expandable
    TransportTime Int32? The transport time of the inquiry.
    LifeCycleState Int32 The life cycle state of the inquiry.

    • Transient: 1
    • Persistent: 10
    • History: 20
    • RemovableCandidate: 99
    Version Int32 The version of the inquiry.
    UseForwardRate Boolean Specifies if forward rate should be used.
    ExchangeRate Decimal The exchange rate to use for the inquiry.
    SupplierId Int64 The business key identifier of the supplier that the inquiry
    belongs to.

    References Suppliers

    • Mandatory
    OrderNumber String The order number of the purchase order created as a result of the
    inquiry.

    • Not nullable
    • Max length is 15
    OrderDate DateTimeOffset? The date/time when the inquiry was made.
    Rows InquiryRows[] The rows of the inquiry.

    • Expandable
    CreatedById Int64? The business key identifier of the inquiry's creator.

    References Persons

    • Obsolete since version 24.3 (Unavailable)
    DeliveryAddressId Int64? The business key identifier of the inquiry's delivery address.

    References Addresses
    DeliveryAddress Addresses The delivery address of the inquiry.

    • Expandable
    MailingAddressId Int64? The business key identifier of the inquiry's mailing address.

    References Addresses
    MailingAddress Addresses The mailing address of the inquiry.

    • Expandable
    VatNumber String The VAT number on the inquiry.

    • Max length is 80
    • Obsolete since version 24.3 (Unavailable)
    Status Int32 The status of the inquiry.

    • Registered: 1
    • Printed: 2
    • Responded: 3
    • Closed: 6
    • PartialOrder: 7
    • OrderViaRelatedInquiry: 8
    • Order: 9
    CommunicationAddresses CommunicationAddresses[] The communication addresses registered on the inquiry.

    • Expandable
    InquiryDate DateTimeOffset The date when the inquiry was made to the supplier.
    InquiryDescription String The description of the inquiry.

    • Max length is 200
    LatestContactDate DateTimeOffset? The last contact date on the inquiry.
    ValidThroughDate DateTimeOffset? The valid through date of the inquiry.
    OrderTypeId Int64? The business key identifier of the inquiry's inquiry type.

    References InquiryTypes
    Introduced in version 2.30
    OrderType InquiryTypes The inquiry type used on the inquiry.

    • Expandable
    Introduced in version 2.30
    CurrencyExchangeTypeId Int64 The business key identifier of the inquiry's currency exchange type.

    • References CurrencyExchangeTypes
    Introduced in version 22.9

    Example

    {
      "Id": 0,
      "PaymentTermId": null,
      "PaymentTerm": null,
      "PaymentTermDescription": null,
      "GracePeriodInDays": null,
      "DeliveryMethodId": null,
      "DeliveryTermId": null,
      "DeliveryTermDescription": null,
      "DeliveryMethodDescription": null,
      "BusinessContactOrderNumber": null,
      "OurReferenceId": null,
      "OurReferenceName": null,
      "BusinessContactReferenceId": null,
      "BusinessContactReferenceName": null,
      "GoodsLabel": null,
      "CurrencyId": 0,
      "VatGroupId": 0,
      "WarehouseId": 0,
      "Priority": 0,
      "ProjectId": null,
      "SendMethod": 0,
      "InternalCommentId": null,
      "InternalComment": null,
      "ExternalCommentId": null,
      "ExternalComment": null,
      "TransportTime": null,
      "LifeCycleState": 0,
      "Version": 0,
      "UseForwardRate": false,
      "ExchangeRate": 0.0,
      "SupplierId": 0,
      "OrderNumber": null,
      "OrderDate": null,
      "Rows": null,
      "CreatedById": null,
      "DeliveryAddressId": null,
      "DeliveryAddress": null,
      "MailingAddressId": null,
      "MailingAddress": null,
      "VatNumber": null,
      "Status": 0,
      "CommunicationAddresses": null,
      "InquiryDate": "0001-01-01T00:00:00+00:00",
      "InquiryDescription": null,
      "LatestContactDate": null,
      "ValidThroughDate": null,
      "OrderTypeId": null,
      "OrderType": null,
      "CurrencyExchangeTypeId": 0
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB