POST api/NebimCommon/GetCurrAccAddress

Request Information

URI Parameters

None.

Body Parameters

CurrAccPagingRequest
NameDescriptionTypeAdditional information
SearchText

string

None.

CurrAccType

integer

None.

CustomerType

integer

None.

Page

integer

None.

Limit

integer

None.

CurrAccCode

string

None.

SubCurrAccId

string

None.

OfficeCode

string

None.

WarehouseCode

string

None.

ProcessType

integer

None.

IsTransfer

boolean

None.

ProductBarcode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "searchText": "sample string 1",
  "currAccType": 2,
  "customerType": 3,
  "page": 4,
  "limit": 5,
  "currAccCode": "sample string 6",
  "subCurrAccId": "sample string 7",
  "officeCode": "sample string 8",
  "warehouseCode": "sample string 9",
  "processType": 10,
  "isTransfer": true,
  "productBarcode": "sample string 12"
}

application/xml, text/xml

Sample:
<CurrAccPagingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.DTOs.Request">
  <CurrAccCode>sample string 6</CurrAccCode>
  <CurrAccType>2</CurrAccType>
  <CustomerType>3</CustomerType>
  <IsTransfer>true</IsTransfer>
  <Limit>5</Limit>
  <OfficeCode>sample string 8</OfficeCode>
  <Page>4</Page>
  <ProcessType>10</ProcessType>
  <ProductBarcode>sample string 12</ProductBarcode>
  <SearchText>sample string 1</SearchText>
  <SubCurrAccId>sample string 7</SubCurrAccId>
  <WarehouseCode>sample string 9</WarehouseCode>
</CurrAccPagingRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseModelOfListOfCurrAccAddress
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Errors

Collection of string

None.

Code

integer

None.

Data

Collection of CurrAccAddress

None.

Warning

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2",
  "errors": [
    "sample string 1",
    "sample string 2"
  ],
  "code": 3,
  "data": [
    {
      "postalAddressId": "sample string 1",
      "currAccCode": "sample string 2",
      "address": "sample string 3",
      "subCurrAccId": "sample string 4"
    },
    {
      "postalAddressId": "sample string 1",
      "currAccCode": "sample string 2",
      "address": "sample string 3",
      "subCurrAccId": "sample string 4"
    }
  ],
  "warning": true
}

application/xml, text/xml

Sample:
<ResponseModelOfArrayOfCurrAccAddresslmxkWvTr xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VolisServer.CustomClasses">
  <Code>3</Code>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/VolisServer.Domain.ErpEntities">
    <d2p1:CurrAccAddress>
      <d2p1:Address>sample string 3</d2p1:Address>
      <d2p1:CurrAccCode>sample string 2</d2p1:CurrAccCode>
      <d2p1:PostalAddressId>sample string 1</d2p1:PostalAddressId>
      <d2p1:SubCurrAccId>sample string 4</d2p1:SubCurrAccId>
    </d2p1:CurrAccAddress>
    <d2p1:CurrAccAddress>
      <d2p1:Address>sample string 3</d2p1:Address>
      <d2p1:CurrAccCode>sample string 2</d2p1:CurrAccCode>
      <d2p1:PostalAddressId>sample string 1</d2p1:PostalAddressId>
      <d2p1:SubCurrAccId>sample string 4</d2p1:SubCurrAccId>
    </d2p1:CurrAccAddress>
  </Data>
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Warning>true</Warning>
</ResponseModelOfArrayOfCurrAccAddresslmxkWvTr>