GET ApprovalStatus/Base/All

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ApprovalStatus
NameDescriptionTypeAdditional information
ApprovalStatusId

integer

None.

Description

string

None.

LastMaintenanceName

string

None.

LastMaintenanceDate

date

None.

SeedRequest

Collection of SeedRequest

None.

ChangeTracker

ObjectChangeTracker

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "$id": "1",
    "ApprovalStatusId": 1,
    "Description": "sample string 2",
    "LastMaintenanceName": "sample string 3",
    "LastMaintenanceDate": "2025-04-04T14:46:18.8378791+00:00",
    "SeedRequest": [
      {
        "$id": "2",
        "SeedRequestId": "94c37879-2475-4894-bfc4-ed21089d54c9",
        "ExperimentOrGroupId": "e457d4db-1170-4dff-befa-98284706ae6a",
        "GroupRequest": true,
        "GEId": 5.0,
        "BrandId": 6.0,
        "SubProductCode": "sample string 7",
        "TotalUnitsToReserve": 8,
        "BusinessUnitCode": "sample string 9",
        "ApprovalStatusId": 1,
        "TransactionId": "5077354c-256b-4b34-a61c-4f4bbb6388bf",
        "RequestorName": "sample string 11",
        "RequestDate": "2025-04-04T14:46:18.8378791+00:00",
        "ApproverName": "sample string 12",
        "ApprovalDate": "2025-04-04T14:46:18.8378791+00:00",
        "ReasonForRejection": "sample string 13",
        "AddName": "sample string 14",
        "AddDate": "2025-04-04T14:46:18.8378791+00:00",
        "LastMaintenanceName": "sample string 16",
        "LastMaintenanceDate": "2025-04-04T14:46:18.8378791+00:00",
        "ApprovalStatus": {
          "$ref": "1"
        },
        "SeedRequestArea": [
          {
            "$id": "3",
            "SeedRequestAreaId": "ed5fac07-faf8-4b12-bb88-d6b5d034d86d",
            "DistrictCode": "samplestring1",
            "SeedRequest": {
              "$ref": "2"
            },
            "ChangeTracker": {
              "$id": "4",
              "State": 2,
              "ObjectsRemovedFromCollectionProperties": {},
              "OriginalValues": {},
              "ExtendedProperties": {},
              "ObjectsAddedToCollectionProperties": {}
            }
          },
          {
            "$id": "5",
            "SeedRequestAreaId": "231fccc3-975d-4199-b036-f72293f9e905",
            "SeedRequestId": "94c37879-2475-4894-bfc4-ed21089d54c9",
            "DistrictCode": "sample string 3",
            "SeedRequest": {
              "$ref": "2"
            },
            "ChangeTracker": {
              "$id": "6",
              "State": 2,
              "ObjectsRemovedFromCollectionProperties": {},
              "OriginalValues": {},
              "ExtendedProperties": {},
              "ObjectsAddedToCollectionProperties": {}
            }
          }
        ],
        "ChangeTracker": {
          "$id": "7",
          "State": 2,
          "ObjectsRemovedFromCollectionProperties": {},
          "OriginalValues": {},
          "ExtendedProperties": {},
          "ObjectsAddedToCollectionProperties": {
            "SeedRequestArea": [
              {
                "$ref": "3"
              },
              {
                "$ref": "5"
              }
            ]
          }
        }
      }
    ],
    "ChangeTracker": {
      "$id": "8",
      "State": 2,
      "ObjectsRemovedFromCollectionProperties": {},
      "OriginalValues": {},
      "ExtendedProperties": {},
      "ObjectsAddedToCollectionProperties": {
        "SeedRequest": [
          {
            "$ref": "2"
          }
        ]
      }
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfApprovalStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <ApprovalStatus i:nil="true" />
  <ApprovalStatus z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
    <ApprovalStatusId>1</ApprovalStatusId>
    <ChangeTracker z:Id="i2">
      <ExtendedProperties />
      <ObjectsAddedToCollectionProperties>
        <AddedObjectsForProperty>
          <CollectionPropertyName>SeedRequest</CollectionPropertyName>
          <AddedObjects>
            <ObjectValue z:Id="i3" i:type="SeedRequest">
              <AddDate>2025-04-04T14:46:18.8378791+00:00</AddDate>
              <AddName>sample string 14</AddName>
              <ApprovalDate>2025-04-04T14:46:18.8378791+00:00</ApprovalDate>
              <ApprovalStatus z:Ref="i1" />
              <ApprovalStatusId>1</ApprovalStatusId>
              <ApproverName>sample string 12</ApproverName>
              <BrandId>6</BrandId>
              <BusinessUnit i:nil="true" />
              <BusinessUnitCode>sample string 9</BusinessUnitCode>
              <ChangeTracker z:Id="i4">
                <ExtendedProperties />
                <ObjectsAddedToCollectionProperties>
                  <AddedObjectsForProperty>
                    <CollectionPropertyName>SeedRequestArea</CollectionPropertyName>
                    <AddedObjects>
                      <ObjectValue z:Id="i5" i:type="SeedRequestArea">
                        <ChangeTracker z:Id="i6">
                          <ExtendedProperties />
                          <ObjectsAddedToCollectionProperties />
                          <ObjectsRemovedFromCollectionProperties />
                          <OriginalValues />
                          <State>Added</State>
                        </ChangeTracker>
                        <DistrictCode>samplestring1</DistrictCode>
                        <SeedRequest z:Ref="i3" />
                        <SeedRequestAreaId>ed5fac07-faf8-4b12-bb88-d6b5d034d86d</SeedRequestAreaId>
                        <SeedRequestId>00000000-0000-0000-0000-000000000000</SeedRequestId>
                      </ObjectValue>
                      <ObjectValue z:Id="i7" i:type="SeedRequestArea">
                        <ChangeTracker z:Id="i8">
                          <ExtendedProperties />
                          <ObjectsAddedToCollectionProperties />
                          <ObjectsRemovedFromCollectionProperties />
                          <OriginalValues />
                          <State>Added</State>
                        </ChangeTracker>
                        <DistrictCode>sample string 3</DistrictCode>
                        <SeedRequest z:Ref="i3" />
                        <SeedRequestAreaId>231fccc3-975d-4199-b036-f72293f9e905</SeedRequestAreaId>
                        <SeedRequestId>94c37879-2475-4894-bfc4-ed21089d54c9</SeedRequestId>
                      </ObjectValue>
                    </AddedObjects>
                  </AddedObjectsForProperty>
                </ObjectsAddedToCollectionProperties>
                <ObjectsRemovedFromCollectionProperties />
                <OriginalValues />
                <State>Added</State>
              </ChangeTracker>
              <ExperimentOrGroupId>e457d4db-1170-4dff-befa-98284706ae6a</ExperimentOrGroupId>
              <GEId>5</GEId>
              <GroupRequest>true</GroupRequest>
              <LastMaintenanceDate>2025-04-04T14:46:18.8378791+00:00</LastMaintenanceDate>
              <LastMaintenanceName>sample string 16</LastMaintenanceName>
              <ReasonForRejection>sample string 13</ReasonForRejection>
              <RequestDate>2025-04-04T14:46:18.8378791+00:00</RequestDate>
              <RequestorName>sample string 11</RequestorName>
              <SeedRequestArea>
                <SeedRequestArea z:Ref="i5" />
                <SeedRequestArea z:Ref="i7" />
              </SeedRequestArea>
              <SeedRequestId>94c37879-2475-4894-bfc4-ed21089d54c9</SeedRequestId>
              <SubProductCode>sample string 7</SubProductCode>
              <TotalUnitsToReserve>8</TotalUnitsToReserve>
              <TransactionId>5077354c-256b-4b34-a61c-4f4bbb6388bf</TransactionId>
            </ObjectValue>
          </AddedObjects>
        </AddedObjectsForProperty>
      </ObjectsAddedToCollectionProperties>
      <ObjectsRemovedFromCollectionProperties />
      <OriginalValues />
      <State>Added</State>
    </ChangeTracker>
    <Description>sample string 2</Description>
    <LastMaintenanceDate>2025-04-04T14:46:18.8378791+00:00</LastMaintenanceDate>
    <LastMaintenanceName>sample string 3</LastMaintenanceName>
    <SeedRequest>
      <SeedRequest z:Ref="i3" />
    </SeedRequest>
  </ApprovalStatus>
</ArrayOfApprovalStatus>