POST api/Masters/GetStateMasterList

Request Information

URI Parameters

None.

Body Parameters

StateMaster
NameDescriptionTypeAdditional information
StateID

integer

None.

StateName

string

None.

LanguageType

string

None.

RefreshDateTime

string

None.

ScientistID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StateID": 1,
  "StateName": "sample string 2",
  "LanguageType": "sample string 3",
  "RefreshDateTime": "sample string 4",
  "ScientistID": 5
}

application/xml, text/xml

Sample:
<StateMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_MASTERS">
  <LanguageType>sample string 3</LanguageType>
  <RefreshDateTime>sample string 4</RefreshDateTime>
  <ScientistID>5</ScientistID>
  <StateID>1</StateID>
  <StateName>sample string 2</StateName>
</StateMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetMasterResponse
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

SuccessMessage

string

None.

ErrorMessage

string

None.

ObjTitleMasterList

Collection of TitleMaster

None.

ObjLanguageTypeMasterList

Collection of LanguageMaster

None.

ObjGenderMasterList

Collection of GenderMaster

None.

ObjDistrictMasterList

Collection of DistrictMaster

None.

ObjStateMasterList

Collection of StateMaster

None.

ObjBlockMasterList

Collection of BlockMaster

None.

ObjAsdMasterList

Collection of AsdMaster

None.

ObjBlockMasterAsdList

Collection of BlockMasterAsd

None.

ObjCropMasterList

Collection of CropMaster

None.

ObjAdvisoryCategoryMasterList

Collection of CropAdvisoryCategoryMaster

None.

ObjDepartmentMasterList

Collection of DepartmentMaster

None.

ObjBlobMasterList

Collection of BlobMaster

None.

ObjCountryCodeMasterList

Collection of CountryCodeMaster

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "SuccessMessage": "sample string 2",
  "ErrorMessage": "sample string 3",
  "ObjTitleMasterList": [
    {
      "TitleID": 1,
      "TitleName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4"
    },
    {
      "TitleID": 1,
      "TitleName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4"
    }
  ],
  "ObjLanguageTypeMasterList": [
    {
      "LanguageTypeId": 1,
      "LanguageTypeName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4",
      "Culture": "sample string 5"
    },
    {
      "LanguageTypeId": 1,
      "LanguageTypeName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4",
      "Culture": "sample string 5"
    }
  ],
  "ObjGenderMasterList": [
    {
      "GenderID": 1,
      "GenderName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4"
    },
    {
      "GenderID": 1,
      "GenderName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4"
    }
  ],
  "ObjDistrictMasterList": [
    {
      "ScientistID": 1,
      "StateID": 2,
      "DistrictID": 3,
      "DistrictName": "sample string 4",
      "LanguageType": "sample string 5",
      "RefreshDateTime": "sample string 6"
    },
    {
      "ScientistID": 1,
      "StateID": 2,
      "DistrictID": 3,
      "DistrictName": "sample string 4",
      "LanguageType": "sample string 5",
      "RefreshDateTime": "sample string 6"
    }
  ],
  "ObjStateMasterList": [
    {
      "StateID": 1,
      "StateName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4",
      "ScientistID": 5
    },
    {
      "StateID": 1,
      "StateName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4",
      "ScientistID": 5
    }
  ],
  "ObjBlockMasterList": [
    {
      "AsdID": 1,
      "BlockID": 2,
      "DistrictID": 3,
      "BlockName": "sample string 4",
      "LanguageType": "sample string 5",
      "RefreshDateTime": "sample string 6",
      "ScientistID": 7
    },
    {
      "AsdID": 1,
      "BlockID": 2,
      "DistrictID": 3,
      "BlockName": "sample string 4",
      "LanguageType": "sample string 5",
      "RefreshDateTime": "sample string 6",
      "ScientistID": 7
    }
  ],
  "ObjAsdMasterList": [
    {
      "AsdID": 1,
      "AsdName": "sample string 2",
      "DistrictID": 3,
      "StateID": 4,
      "RefreshDateTime": "sample string 5",
      "LanguageType": "sample string 6",
      "ScientistID": 7
    },
    {
      "AsdID": 1,
      "AsdName": "sample string 2",
      "DistrictID": 3,
      "StateID": 4,
      "RefreshDateTime": "sample string 5",
      "LanguageType": "sample string 6",
      "ScientistID": 7
    }
  ],
  "ObjBlockMasterAsdList": [
    {
      "AsdID": "sample string 1",
      "BlockID": 2,
      "BlockName": "sample string 3",
      "RefreshDateTime": "sample string 4"
    },
    {
      "AsdID": "sample string 1",
      "BlockID": 2,
      "BlockName": "sample string 3",
      "RefreshDateTime": "sample string 4"
    }
  ],
  "ObjCropMasterList": [
    {
      "CropID": 1,
      "CropName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4",
      "ScientistID": 5
    },
    {
      "CropID": 1,
      "CropName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4",
      "ScientistID": 5
    }
  ],
  "ObjAdvisoryCategoryMasterList": [
    {
      "CACID": 1,
      "CropID": 2,
      "CropAdvisoryCategory": "sample string 3",
      "LanguageType": "sample string 4",
      "RefreshDateTime": "sample string 5"
    },
    {
      "CACID": 1,
      "CropID": 2,
      "CropAdvisoryCategory": "sample string 3",
      "LanguageType": "sample string 4",
      "RefreshDateTime": "sample string 5"
    }
  ],
  "ObjDepartmentMasterList": [
    {
      "DepartmentID": 1,
      "DepartmentName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4"
    },
    {
      "DepartmentID": 1,
      "DepartmentName": "sample string 2",
      "LanguageType": "sample string 3",
      "RefreshDateTime": "sample string 4"
    }
  ],
  "ObjBlobMasterList": [
    {
      "Type": "sample string 1",
      "AccountName": "sample string 2",
      "AccountKey": "sample string 3",
      "ContainerName": "sample string 4"
    },
    {
      "Type": "sample string 1",
      "AccountName": "sample string 2",
      "AccountKey": "sample string 3",
      "ContainerName": "sample string 4"
    }
  ],
  "ObjCountryCodeMasterList": [
    {
      "CountryCodeId": 1,
      "CountryCodes": "sample string 2",
      "CountryName": "sample string 3",
      "CreatedDate": "sample string 4",
      "LastUpdated": "sample string 5",
      "Createdbyint": "sample string 6",
      "RefreshDateTime": "sample string 7"
    },
    {
      "CountryCodeId": 1,
      "CountryCodes": "sample string 2",
      "CountryName": "sample string 3",
      "CreatedDate": "sample string 4",
      "LastUpdated": "sample string 5",
      "Createdbyint": "sample string 6",
      "RefreshDateTime": "sample string 7"
    }
  ]
}

application/xml, text/xml

Sample:
<GetMasterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AGROMET_MASTERS">
  <ErrorMessage>sample string 3</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
  <ObjAdvisoryCategoryMasterList>
    <CropAdvisoryCategoryMaster>
      <CACID>1</CACID>
      <CropAdvisoryCategory>sample string 3</CropAdvisoryCategory>
      <CropID>2</CropID>
      <LanguageType>sample string 4</LanguageType>
      <RefreshDateTime>sample string 5</RefreshDateTime>
    </CropAdvisoryCategoryMaster>
    <CropAdvisoryCategoryMaster>
      <CACID>1</CACID>
      <CropAdvisoryCategory>sample string 3</CropAdvisoryCategory>
      <CropID>2</CropID>
      <LanguageType>sample string 4</LanguageType>
      <RefreshDateTime>sample string 5</RefreshDateTime>
    </CropAdvisoryCategoryMaster>
  </ObjAdvisoryCategoryMasterList>
  <ObjAsdMasterList>
    <AsdMaster>
      <AsdID>1</AsdID>
      <AsdName>sample string 2</AsdName>
      <DistrictID>3</DistrictID>
      <LanguageType>sample string 6</LanguageType>
      <RefreshDateTime>sample string 5</RefreshDateTime>
      <ScientistID>7</ScientistID>
      <StateID>4</StateID>
    </AsdMaster>
    <AsdMaster>
      <AsdID>1</AsdID>
      <AsdName>sample string 2</AsdName>
      <DistrictID>3</DistrictID>
      <LanguageType>sample string 6</LanguageType>
      <RefreshDateTime>sample string 5</RefreshDateTime>
      <ScientistID>7</ScientistID>
      <StateID>4</StateID>
    </AsdMaster>
  </ObjAsdMasterList>
  <ObjBlobMasterList>
    <BlobMaster>
      <AccountKey>sample string 3</AccountKey>
      <AccountName>sample string 2</AccountName>
      <ContainerName>sample string 4</ContainerName>
      <Type>sample string 1</Type>
    </BlobMaster>
    <BlobMaster>
      <AccountKey>sample string 3</AccountKey>
      <AccountName>sample string 2</AccountName>
      <ContainerName>sample string 4</ContainerName>
      <Type>sample string 1</Type>
    </BlobMaster>
  </ObjBlobMasterList>
  <ObjBlockMasterAsdList>
    <BlockMasterAsd>
      <AsdID>sample string 1</AsdID>
      <BlockID>2</BlockID>
      <BlockName>sample string 3</BlockName>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </BlockMasterAsd>
    <BlockMasterAsd>
      <AsdID>sample string 1</AsdID>
      <BlockID>2</BlockID>
      <BlockName>sample string 3</BlockName>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </BlockMasterAsd>
  </ObjBlockMasterAsdList>
  <ObjBlockMasterList>
    <BlockMaster>
      <AsdID>1</AsdID>
      <BlockID>2</BlockID>
      <BlockName>sample string 4</BlockName>
      <DistrictID>3</DistrictID>
      <LanguageType>sample string 5</LanguageType>
      <RefreshDateTime>sample string 6</RefreshDateTime>
      <ScientistID>7</ScientistID>
    </BlockMaster>
    <BlockMaster>
      <AsdID>1</AsdID>
      <BlockID>2</BlockID>
      <BlockName>sample string 4</BlockName>
      <DistrictID>3</DistrictID>
      <LanguageType>sample string 5</LanguageType>
      <RefreshDateTime>sample string 6</RefreshDateTime>
      <ScientistID>7</ScientistID>
    </BlockMaster>
  </ObjBlockMasterList>
  <ObjCountryCodeMasterList>
    <CountryCodeMaster>
      <CountryCodeId>1</CountryCodeId>
      <CountryCodes>sample string 2</CountryCodes>
      <CountryName>sample string 3</CountryName>
      <CreatedDate>sample string 4</CreatedDate>
      <Createdbyint>sample string 6</Createdbyint>
      <LastUpdated>sample string 5</LastUpdated>
      <RefreshDateTime>sample string 7</RefreshDateTime>
    </CountryCodeMaster>
    <CountryCodeMaster>
      <CountryCodeId>1</CountryCodeId>
      <CountryCodes>sample string 2</CountryCodes>
      <CountryName>sample string 3</CountryName>
      <CreatedDate>sample string 4</CreatedDate>
      <Createdbyint>sample string 6</Createdbyint>
      <LastUpdated>sample string 5</LastUpdated>
      <RefreshDateTime>sample string 7</RefreshDateTime>
    </CountryCodeMaster>
  </ObjCountryCodeMasterList>
  <ObjCropMasterList>
    <CropMaster>
      <CropID>1</CropID>
      <CropName>sample string 2</CropName>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
      <ScientistID>5</ScientistID>
    </CropMaster>
    <CropMaster>
      <CropID>1</CropID>
      <CropName>sample string 2</CropName>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
      <ScientistID>5</ScientistID>
    </CropMaster>
  </ObjCropMasterList>
  <ObjDepartmentMasterList>
    <DepartmentMaster>
      <DepartmentID>1</DepartmentID>
      <DepartmentName>sample string 2</DepartmentName>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </DepartmentMaster>
    <DepartmentMaster>
      <DepartmentID>1</DepartmentID>
      <DepartmentName>sample string 2</DepartmentName>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </DepartmentMaster>
  </ObjDepartmentMasterList>
  <ObjDistrictMasterList>
    <DistrictMaster>
      <DistrictID>3</DistrictID>
      <DistrictName>sample string 4</DistrictName>
      <LanguageType>sample string 5</LanguageType>
      <RefreshDateTime>sample string 6</RefreshDateTime>
      <ScientistID>1</ScientistID>
      <StateID>2</StateID>
    </DistrictMaster>
    <DistrictMaster>
      <DistrictID>3</DistrictID>
      <DistrictName>sample string 4</DistrictName>
      <LanguageType>sample string 5</LanguageType>
      <RefreshDateTime>sample string 6</RefreshDateTime>
      <ScientistID>1</ScientistID>
      <StateID>2</StateID>
    </DistrictMaster>
  </ObjDistrictMasterList>
  <ObjGenderMasterList>
    <GenderMaster>
      <GenderID>1</GenderID>
      <GenderName>sample string 2</GenderName>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </GenderMaster>
    <GenderMaster>
      <GenderID>1</GenderID>
      <GenderName>sample string 2</GenderName>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </GenderMaster>
  </ObjGenderMasterList>
  <ObjLanguageTypeMasterList>
    <LanguageMaster>
      <Culture>sample string 5</Culture>
      <LanguageType>sample string 3</LanguageType>
      <LanguageTypeId>1</LanguageTypeId>
      <LanguageTypeName>sample string 2</LanguageTypeName>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </LanguageMaster>
    <LanguageMaster>
      <Culture>sample string 5</Culture>
      <LanguageType>sample string 3</LanguageType>
      <LanguageTypeId>1</LanguageTypeId>
      <LanguageTypeName>sample string 2</LanguageTypeName>
      <RefreshDateTime>sample string 4</RefreshDateTime>
    </LanguageMaster>
  </ObjLanguageTypeMasterList>
  <ObjStateMasterList>
    <StateMaster>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
      <ScientistID>5</ScientistID>
      <StateID>1</StateID>
      <StateName>sample string 2</StateName>
    </StateMaster>
    <StateMaster>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
      <ScientistID>5</ScientistID>
      <StateID>1</StateID>
      <StateName>sample string 2</StateName>
    </StateMaster>
  </ObjStateMasterList>
  <ObjTitleMasterList>
    <TitleMaster>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
      <TitleID>1</TitleID>
      <TitleName>sample string 2</TitleName>
    </TitleMaster>
    <TitleMaster>
      <LanguageType>sample string 3</LanguageType>
      <RefreshDateTime>sample string 4</RefreshDateTime>
      <TitleID>1</TitleID>
      <TitleName>sample string 2</TitleName>
    </TitleMaster>
  </ObjTitleMasterList>
  <SuccessMessage>sample string 2</SuccessMessage>
</GetMasterResponse>