GET api/Commerce/ConfirmOrder?CountryId={CountryId}&UserId={UserId}&AccountId={AccountId}&SelectedAccountId={SelectedAccountId}&OrderNumber={OrderNumber}&OfficeId={OfficeId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CountryId

string

Required

UserId

globally unique identifier

Required

AccountId

globally unique identifier

Required

SelectedAccountId

globally unique identifier

Required

OrderNumber

integer

Required

OfficeId

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

CommerceResult
NameDescriptionTypeAdditional information
OrderNumber

integer

None.

Items

Collection of Object

None.

CurrentPage

integer

None.

TotalPages

integer

None.

TotalRows

integer

None.

OrderStatus

OrderStatus

None.

OperationDetails

string

None.

Response Formats

application/json, text/json

Sample:
{
  "OrderNumber": 1,
  "Items": [
    {},
    {}
  ],
  "CurrentPage": 2,
  "TotalPages": 3,
  "TotalRows": 4,
  "OrderStatus": {
    "OrderNumber": 1,
    "FromAccountId": "8da30ed2-1734-4a10-9667-45a3ad2b51d0",
    "FromAccountName": "sample string 3",
    "AccountId": "687ca905-d2a7-4674-85a4-48c8dc4cd318",
    "AccountName": "sample string 5",
    "OfficeId": "b4d466de-28a2-4fa3-a017-745e019f3d9e",
    "OfficeInfo": "sample string 7",
    "Status": 8,
    "Date": "2024-11-15T02:51:12.7826169+00:00",
    "DueDate": "2024-11-15T02:51:12.7826169+00:00"
  },
  "OperationDetails": "sample string 5"
}

application/xml, text/xml

Sample:
<CommerceResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gosocket.SDK.Domain">
  <_x003C_CurrentPage_x003E_k__BackingField>2</_x003C_CurrentPage_x003E_k__BackingField>
  <_x003C_Items_x003E_k__BackingField xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </_x003C_Items_x003E_k__BackingField>
  <_x003C_OperationDetails_x003E_k__BackingField>sample string 5</_x003C_OperationDetails_x003E_k__BackingField>
  <_x003C_OrderNumber_x003E_k__BackingField>1</_x003C_OrderNumber_x003E_k__BackingField>
  <_x003C_OrderStatus_x003E_k__BackingField>
    <_x003C_AccountId_x003E_k__BackingField>687ca905-d2a7-4674-85a4-48c8dc4cd318</_x003C_AccountId_x003E_k__BackingField>
    <_x003C_AccountName_x003E_k__BackingField>sample string 5</_x003C_AccountName_x003E_k__BackingField>
    <_x003C_Date_x003E_k__BackingField>2024-11-15T02:51:12.7826169+00:00</_x003C_Date_x003E_k__BackingField>
    <_x003C_DueDate_x003E_k__BackingField>2024-11-15T02:51:12.7826169+00:00</_x003C_DueDate_x003E_k__BackingField>
    <_x003C_FromAccountId_x003E_k__BackingField>8da30ed2-1734-4a10-9667-45a3ad2b51d0</_x003C_FromAccountId_x003E_k__BackingField>
    <_x003C_FromAccountName_x003E_k__BackingField>sample string 3</_x003C_FromAccountName_x003E_k__BackingField>
    <_x003C_OfficeId_x003E_k__BackingField>b4d466de-28a2-4fa3-a017-745e019f3d9e</_x003C_OfficeId_x003E_k__BackingField>
    <_x003C_OfficeInfo_x003E_k__BackingField>sample string 7</_x003C_OfficeInfo_x003E_k__BackingField>
    <_x003C_OrderNumber_x003E_k__BackingField>1</_x003C_OrderNumber_x003E_k__BackingField>
    <_x003C_Status_x003E_k__BackingField>8</_x003C_Status_x003E_k__BackingField>
  </_x003C_OrderStatus_x003E_k__BackingField>
  <_x003C_TotalPages_x003E_k__BackingField>3</_x003C_TotalPages_x003E_k__BackingField>
  <_x003C_TotalRows_x003E_k__BackingField>4</_x003C_TotalRows_x003E_k__BackingField>
</CommerceResult>