POST api/Offices/update_district_supply_offices
Documentation for 'update_district_supply_offices'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
model | Documentation for 'model'. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "AuthString": "sample string 2", "DateOfData": "sample string 3", "State": "sample string 4", "DFSOs": [ { "_DFSOCode": "sample string 1", "_OfficeName_EN": "sample string 2", "_OfficeName_LL": "sample string 3", "_OfficePhoneNo": "sample string 4", "_OfficeMobileNo": "sample string 5", "_OfficeFaxNo": "sample string 6", "_EmailId": "sample string 7", "_OfficePIN": "sample string 8", "_STATE": "sample string 9", "_District": "sample string 10", "_Tahsil": "sample string 11", "_Town_Vill": "sample string 12", "_OfficeLandmarkLocalityColony": "sample string 13", "_OfficeOfDistrict": "sample string 14", "_Status": "sample string 15", "_Remarks": "sample string 16", "_OperationalTahsil": [ "sample string 1", "sample string 2", "sample string 3" ] }, { "_DFSOCode": "sample string 1", "_OfficeName_EN": "sample string 2", "_OfficeName_LL": "sample string 3", "_OfficePhoneNo": "sample string 4", "_OfficeMobileNo": "sample string 5", "_OfficeFaxNo": "sample string 6", "_EmailId": "sample string 7", "_OfficePIN": "sample string 8", "_STATE": "sample string 9", "_District": "sample string 10", "_Tahsil": "sample string 11", "_Town_Vill": "sample string 12", "_OfficeLandmarkLocalityColony": "sample string 13", "_OfficeOfDistrict": "sample string 14", "_Status": "sample string 15", "_Remarks": "sample string 16", "_OperationalTahsil": [ "sample string 1", "sample string 2", "sample string 3" ] }, { "_DFSOCode": "sample string 1", "_OfficeName_EN": "sample string 2", "_OfficeName_LL": "sample string 3", "_OfficePhoneNo": "sample string 4", "_OfficeMobileNo": "sample string 5", "_OfficeFaxNo": "sample string 6", "_EmailId": "sample string 7", "_OfficePIN": "sample string 8", "_STATE": "sample string 9", "_District": "sample string 10", "_Tahsil": "sample string 11", "_Town_Vill": "sample string 12", "_OfficeLandmarkLocalityColony": "sample string 13", "_OfficeOfDistrict": "sample string 14", "_Status": "sample string 15", "_Remarks": "sample string 16", "_OperationalTahsil": [ "sample string 1", "sample string 2", "sample string 3" ] } ] }
application/xml, text/xml
Sample:
<RequestModelDistrictOffice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Offices"> <AuthString>sample string 2</AuthString> <DFSOs xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLL"> <d2p1:paramDistrictOffice> <d2p1:_DFSOCode>sample string 1</d2p1:_DFSOCode> <d2p1:_District>sample string 10</d2p1:_District> <d2p1:_EmailId>sample string 7</d2p1:_EmailId> <d2p1:_OfficeFaxNo>sample string 6</d2p1:_OfficeFaxNo> <d2p1:_OfficeLandmarkLocalityColony>sample string 13</d2p1:_OfficeLandmarkLocalityColony> <d2p1:_OfficeMobileNo>sample string 5</d2p1:_OfficeMobileNo> <d2p1:_OfficeName_EN>sample string 2</d2p1:_OfficeName_EN> <d2p1:_OfficeName_LL>sample string 3</d2p1:_OfficeName_LL> <d2p1:_OfficeOfDistrict>sample string 14</d2p1:_OfficeOfDistrict> <d2p1:_OfficePIN>sample string 8</d2p1:_OfficePIN> <d2p1:_OfficePhoneNo>sample string 4</d2p1:_OfficePhoneNo> <d2p1:_OperationalTahsil xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> <d4p1:string>sample string 3</d4p1:string> </d2p1:_OperationalTahsil> <d2p1:_Remarks>sample string 16</d2p1:_Remarks> <d2p1:_STATE>sample string 9</d2p1:_STATE> <d2p1:_Status>sample string 15</d2p1:_Status> <d2p1:_Tahsil>sample string 11</d2p1:_Tahsil> <d2p1:_Town_Vill>sample string 12</d2p1:_Town_Vill> </d2p1:paramDistrictOffice> <d2p1:paramDistrictOffice> <d2p1:_DFSOCode>sample string 1</d2p1:_DFSOCode> <d2p1:_District>sample string 10</d2p1:_District> <d2p1:_EmailId>sample string 7</d2p1:_EmailId> <d2p1:_OfficeFaxNo>sample string 6</d2p1:_OfficeFaxNo> <d2p1:_OfficeLandmarkLocalityColony>sample string 13</d2p1:_OfficeLandmarkLocalityColony> <d2p1:_OfficeMobileNo>sample string 5</d2p1:_OfficeMobileNo> <d2p1:_OfficeName_EN>sample string 2</d2p1:_OfficeName_EN> <d2p1:_OfficeName_LL>sample string 3</d2p1:_OfficeName_LL> <d2p1:_OfficeOfDistrict>sample string 14</d2p1:_OfficeOfDistrict> <d2p1:_OfficePIN>sample string 8</d2p1:_OfficePIN> <d2p1:_OfficePhoneNo>sample string 4</d2p1:_OfficePhoneNo> <d2p1:_OperationalTahsil xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> <d4p1:string>sample string 3</d4p1:string> </d2p1:_OperationalTahsil> <d2p1:_Remarks>sample string 16</d2p1:_Remarks> <d2p1:_STATE>sample string 9</d2p1:_STATE> <d2p1:_Status>sample string 15</d2p1:_Status> <d2p1:_Tahsil>sample string 11</d2p1:_Tahsil> <d2p1:_Town_Vill>sample string 12</d2p1:_Town_Vill> </d2p1:paramDistrictOffice> <d2p1:paramDistrictOffice> <d2p1:_DFSOCode>sample string 1</d2p1:_DFSOCode> <d2p1:_District>sample string 10</d2p1:_District> <d2p1:_EmailId>sample string 7</d2p1:_EmailId> <d2p1:_OfficeFaxNo>sample string 6</d2p1:_OfficeFaxNo> <d2p1:_OfficeLandmarkLocalityColony>sample string 13</d2p1:_OfficeLandmarkLocalityColony> <d2p1:_OfficeMobileNo>sample string 5</d2p1:_OfficeMobileNo> <d2p1:_OfficeName_EN>sample string 2</d2p1:_OfficeName_EN> <d2p1:_OfficeName_LL>sample string 3</d2p1:_OfficeName_LL> <d2p1:_OfficeOfDistrict>sample string 14</d2p1:_OfficeOfDistrict> <d2p1:_OfficePIN>sample string 8</d2p1:_OfficePIN> <d2p1:_OfficePhoneNo>sample string 4</d2p1:_OfficePhoneNo> <d2p1:_OperationalTahsil xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:string>sample string 1</d4p1:string> <d4p1:string>sample string 2</d4p1:string> <d4p1:string>sample string 3</d4p1:string> </d2p1:_OperationalTahsil> <d2p1:_Remarks>sample string 16</d2p1:_Remarks> <d2p1:_STATE>sample string 9</d2p1:_STATE> <d2p1:_Status>sample string 15</d2p1:_Status> <d2p1:_Tahsil>sample string 11</d2p1:_Tahsil> <d2p1:_Town_Vill>sample string 12</d2p1:_Town_Vill> </d2p1:paramDistrictOffice> </DFSOs> <DateOfData>sample string 3</DateOfData> <State>sample string 4</State> <Token>sample string 1</Token> </RequestModelDistrictOffice>
application/x-www-form-urlencoded
Sample:
Response Information
Response body formats
application/json, text/json
Sample:
{ "Token": "sample string 1", "AckCode": "sample string 2", "Status": "sample string 3", "Remarks": "sample string 4", "State": "sample string 5", "DFSOs": [ { "_DFSOCode": "sample string 1", "_DFSOName": "sample string 2", "_DFSOShortName": "sample string 3" }, { "_DFSOCode": "sample string 1", "_DFSOName": "sample string 2", "_DFSOShortName": "sample string 3" }, { "_DFSOCode": "sample string 1", "_DFSOName": "sample string 2", "_DFSOShortName": "sample string 3" } ] }
application/xml, text/xml
Sample:
<ResponseModelDistrictOffice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BLL.Offices"> <AckCode>sample string 2</AckCode> <DFSOs xmlns:d2p1="http://schemas.datacontract.org/2004/07/BLL"> <d2p1:propDFSO> <d2p1:_DFSOCode>sample string 1</d2p1:_DFSOCode> <d2p1:_DFSOName>sample string 2</d2p1:_DFSOName> <d2p1:_DFSOShortName>sample string 3</d2p1:_DFSOShortName> </d2p1:propDFSO> <d2p1:propDFSO> <d2p1:_DFSOCode>sample string 1</d2p1:_DFSOCode> <d2p1:_DFSOName>sample string 2</d2p1:_DFSOName> <d2p1:_DFSOShortName>sample string 3</d2p1:_DFSOShortName> </d2p1:propDFSO> <d2p1:propDFSO> <d2p1:_DFSOCode>sample string 1</d2p1:_DFSOCode> <d2p1:_DFSOName>sample string 2</d2p1:_DFSOName> <d2p1:_DFSOShortName>sample string 3</d2p1:_DFSOShortName> </d2p1:propDFSO> </DFSOs> <Remarks>sample string 4</Remarks> <State>sample string 5</State> <Status>sample string 3</Status> <Token>sample string 1</Token> </ResponseModelDistrictOffice>