GET api/GmsOrganisation/{id}
Returns all the organisations in Donor Strategy that are marked for use in the GMS and have an 'updated' date older than the last push, plus those that have failed in previous pushes and need to be resent.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id can only be 'Recent'. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GmsOrganisationName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
Line1 | string |
None. |
|
Line2 | string |
None. |
|
Line3 | string |
None. |
|
Town | string |
None. |
|
County | string |
None. |
|
Country | string |
None. |
|
PostCode | string |
None. |
|
Phone | string |
None. |
|
Fax | string |
None. |
|
SupplierID | string |
None. |
|
EgapOrganisationID | integer |
None. |
|
Id | integer |
None. |
|
LastUpdatedTimestamp | date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "Line1": "sample string 2", "Line2": "sample string 3", "Line3": "sample string 4", "Town": "sample string 5", "County": "sample string 6", "Country": "sample string 7", "PostCode": "sample string 8", "Phone": "sample string 9", "Fax": "sample string 10", "SupplierID": "sample string 11", "EgapOrganisationID": 1, "Id": 12, "LastUpdatedTimestamp": "2024-03-29T00:06:52.0941652+00:00" }, { "Name": "sample string 1", "Line1": "sample string 2", "Line2": "sample string 3", "Line3": "sample string 4", "Town": "sample string 5", "County": "sample string 6", "Country": "sample string 7", "PostCode": "sample string 8", "Phone": "sample string 9", "Fax": "sample string 10", "SupplierID": "sample string 11", "EgapOrganisationID": 1, "Id": 12, "LastUpdatedTimestamp": "2024-03-29T00:06:52.0941652+00:00" } ]
text/xml
Sample:
<ArrayOfGmsOrganisation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Models"> <GmsOrganisation> <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">12</Id> <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2024-03-29T00:06:52.0941652+00:00</LastUpdatedTimestamp> <Country>sample string 7</Country> <County>sample string 6</County> <EgapOrganisationID>1</EgapOrganisationID> <Fax>sample string 10</Fax> <Line1>sample string 2</Line1> <Line2>sample string 3</Line2> <Line3>sample string 4</Line3> <Name>sample string 1</Name> <Phone>sample string 9</Phone> <PostCode>sample string 8</PostCode> <SupplierID>sample string 11</SupplierID> <Town>sample string 5</Town> </GmsOrganisation> <GmsOrganisation> <Id xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">12</Id> <LastUpdatedTimestamp xmlns="http://schemas.datacontract.org/2004/07/DataLayer2.Core">2024-03-29T00:06:52.0941652+00:00</LastUpdatedTimestamp> <Country>sample string 7</Country> <County>sample string 6</County> <EgapOrganisationID>1</EgapOrganisationID> <Fax>sample string 10</Fax> <Line1>sample string 2</Line1> <Line2>sample string 3</Line2> <Line3>sample string 4</Line3> <Name>sample string 1</Name> <Phone>sample string 9</Phone> <PostCode>sample string 8</PostCode> <SupplierID>sample string 11</SupplierID> <Town>sample string 5</Town> </GmsOrganisation> </ArrayOfGmsOrganisation>