POST Integrations/Sun/V1/PostRefreshLookups

Trigger refresh lookups.

Request Information

URI Parameters

None.

Body Parameters

RefreshLookupCommand
Name Type Description Additional information
SSCBusinessUnit string

None.

suppliers SSCSupplierResponse

None.

accounts SSCAccountResponse

None.

Request Formats

application/json, text/json

Sample:
{
  "SSCBusinessUnit": "sample string 1",
  "suppliers": {
    "OutputPayload": [
      {
        "AccountCode": "sample string 1",
        "Description": "sample string 2",
        "SupplierCode": "sample string 1",
        "SupplierName": "sample string 2",
        "LookupCode": "sample string 3"
      },
      {
        "AccountCode": "sample string 1",
        "Description": "sample string 2",
        "SupplierCode": "sample string 1",
        "SupplierName": "sample string 2",
        "LookupCode": "sample string 3"
      }
    ],
    "ErrorContext": {},
    "User": {},
    "SunSystemsContext": {
      "BusinessUnit": "sample string 1",
      "BudgetCode": "sample string 2"
    }
  },
  "accounts": {
    "OutputPayload": [
      {
        "AccountCode": "sample string 1",
        "AccountType": "sample string 2",
        "BalanceType": "sample string 3",
        "Description": "sample string 4",
        "LookupCode": "sample string 5",
        "Status": "sample string 6"
      },
      {
        "AccountCode": "sample string 1",
        "AccountType": "sample string 2",
        "BalanceType": "sample string 3",
        "Description": "sample string 4",
        "LookupCode": "sample string 5",
        "Status": "sample string 6"
      }
    ],
    "ErrorContext": {},
    "User": {},
    "SunSystemsContext": {
      "BusinessUnit": "sample string 1",
      "BudgetCode": "sample string 2"
    }
  }
}

application/xml, text/xml

Sample:
<RefreshLookupCommand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.Integrations.SSC.Models.Commands">
  <SSCBusinessUnit>sample string 1</SSCBusinessUnit>
  <accounts xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tevalis.Integrations.SSC.Infrastructure.API.Models">
    <d2p1:ErrorContext />
    <d2p1:SunSystemsContext>
      <d2p1:BudgetCode>sample string 2</d2p1:BudgetCode>
      <d2p1:BusinessUnit>sample string 1</d2p1:BusinessUnit>
    </d2p1:SunSystemsContext>
    <d2p1:User />
    <d2p1:OutputPayload>
      <d2p1:SSCAccount>
        <d2p1:AccountCode>sample string 1</d2p1:AccountCode>
        <d2p1:AccountType>sample string 2</d2p1:AccountType>
        <d2p1:BalanceType>sample string 3</d2p1:BalanceType>
        <d2p1:Description>sample string 4</d2p1:Description>
        <d2p1:LookupCode>sample string 5</d2p1:LookupCode>
        <d2p1:Status>sample string 6</d2p1:Status>
      </d2p1:SSCAccount>
      <d2p1:SSCAccount>
        <d2p1:AccountCode>sample string 1</d2p1:AccountCode>
        <d2p1:AccountType>sample string 2</d2p1:AccountType>
        <d2p1:BalanceType>sample string 3</d2p1:BalanceType>
        <d2p1:Description>sample string 4</d2p1:Description>
        <d2p1:LookupCode>sample string 5</d2p1:LookupCode>
        <d2p1:Status>sample string 6</d2p1:Status>
      </d2p1:SSCAccount>
    </d2p1:OutputPayload>
  </accounts>
  <suppliers xmlns:d2p1="http://schemas.datacontract.org/2004/07/Tevalis.Integrations.SSC.Infrastructure.API.Models">
    <d2p1:ErrorContext />
    <d2p1:SunSystemsContext>
      <d2p1:BudgetCode>sample string 2</d2p1:BudgetCode>
      <d2p1:BusinessUnit>sample string 1</d2p1:BusinessUnit>
    </d2p1:SunSystemsContext>
    <d2p1:User />
    <d2p1:OutputPayload>
      <d2p1:SSCSupplier>
        <d2p1:AccountCode>sample string 1</d2p1:AccountCode>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:LookupCode>sample string 3</d2p1:LookupCode>
        <d2p1:SupplierCode>sample string 1</d2p1:SupplierCode>
        <d2p1:SupplierName>sample string 2</d2p1:SupplierName>
      </d2p1:SSCSupplier>
      <d2p1:SSCSupplier>
        <d2p1:AccountCode>sample string 1</d2p1:AccountCode>
        <d2p1:Description>sample string 2</d2p1:Description>
        <d2p1:LookupCode>sample string 3</d2p1:LookupCode>
        <d2p1:SupplierCode>sample string 1</d2p1:SupplierCode>
        <d2p1:SupplierName>sample string 2</d2p1:SupplierName>
      </d2p1:SSCSupplier>
    </d2p1:OutputPayload>
  </suppliers>
</RefreshLookupCommand>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ValidationResponse
Name Type Description Additional information
Successful boolean

None.

Information string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.