GET papi/v1/organizationcomponentoutbound/Dept?locationCode={locationCode}&dateFrom={dateFrom}&dateTo={dateTo}&lastSyncDate={lastSyncDate}


Security

Secured API


Request Information

URI Parameters

NameDescriptionTypeAdditional information
locationCode

string

None.

dateFrom

date

None.

dateTo

date

None.

lastSyncDate

date

None.

Required Headers

Name Description Sample Type Default
UserId Represents the value of the user id.
Allow multiple values: no.
1000 integer None
Authorization Represents the value of the authentication token.
Allow multiple values: no.
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ... string None
ConsumerId Represents the value of the consumer id.
Allow multiple values: no.
2426 integer None

Optional Headers

Name Description Sample Type Default
ApplicationType Represents the value of the consumer's application type.
Allow multiple values: no.
1 ApplicationType None
Accept-Language Represents the value of the desired language for translations.
Allow multiple values: yes.
es string en-US

Body Parameters

None.



Response Information

Resource Description

OrgOutbound
NameDescriptionTypeAdditional information
Departments

Collection of Organizations

None.

Response Formats

application/json, text/json

Sample:
{
  "Departments": [
    {
      "ID": 1,
      "ParentID": 2,
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Description": "sample string 5"
    },
    {
      "ID": 1,
      "ParentID": 2,
      "Name": "sample string 3",
      "Type": "sample string 4",
      "Description": "sample string 5"
    }
  ]
}

application/xml, text/xml

Sample:
<OrgOutbound xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Departments>
    <Organizations>
      <ID>1</ID>
      <ParentID>2</ParentID>
      <Name>sample string 3</Name>
      <Type>sample string 4</Type>
      <Description>sample string 5</Description>
    </Organizations>
    <Organizations>
      <ID>1</ID>
      <ParentID>2</ParentID>
      <Name>sample string 3</Name>
      <Type>sample string 4</Type>
      <Description>sample string 5</Description>
    </Organizations>
  </Departments>
</OrgOutbound>