PUT api/ActMasters?ActID={ActID}
edit act in database
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ActID |
for which act we need to update |
globally unique identifier |
Required |
Body Parameters
containds all the property of act need to be updated
CustomActAndRulesName | Description | Type | Additional information |
---|---|---|---|
sn | string |
None. |
|
totalcount | integer |
None. |
|
AssessmentCycleID | string |
None. |
|
ActId | globally unique identifier |
None. |
|
ActMappingId | globally unique identifier |
None. |
|
Act | string |
None. |
|
LocationID | globally unique identifier |
None. |
|
EntityID | globally unique identifier |
None. |
|
ComplainceCategoryID | globally unique identifier |
None. |
|
ComplainceTypeId | globally unique identifier |
None. |
|
CountryID | globally unique identifier |
None. |
|
StateID | globally unique identifier |
None. |
|
LocationDescription | string |
None. |
|
entity | string |
None. |
|
EntityDescription | string |
None. |
|
ComplainceCategory | string |
None. |
|
ComplainceCategoryDescription | string |
None. |
|
ComplainceType | string |
None. |
|
ComplainceDescription | string |
None. |
|
Country | string |
None. |
|
CountryDescription | string |
None. |
|
ClientID | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "sn": "sample string 1", "totalcount": 2, "AssessmentCycleID": "sample string 3", "ActId": "a1dfa2ec-05c9-4a3b-9b10-fcbdff2df043", "ActMappingId": "9b10665f-350e-442a-bc8c-358b70126c40", "Act": "sample string 6", "LocationID": "5b2b643e-dd51-48d7-8445-10651dda3a30", "EntityID": "579510e6-cf1a-4622-be80-01505016414f", "ComplainceCategoryID": "cd97fb0f-8349-4dbf-9625-3c993a77ca16", "ComplainceTypeId": "24e4ebf4-8a79-4817-af63-ff445131c52f", "CountryID": "e256280d-a9f6-4c1c-a7b7-118fa1ce2e3b", "StateID": "9a988516-2beb-4804-a303-75d35c545b93", "LocationDescription": "sample string 13", "entity": "sample string 14", "EntityDescription": "sample string 15", "ComplainceCategory": "sample string 16", "ComplainceCategoryDescription": "sample string 17", "ComplainceType": "sample string 18", "ComplainceDescription": "sample string 19", "Country": "sample string 20", "CountryDescription": "sample string 21", "ClientID": "323250a4-b6e0-4746-ab47-ffe34568f272" }
application/xml, text/xml
Sample:
<CustomActAndRules xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.CustomModel"> <Act>sample string 6</Act> <ActId>a1dfa2ec-05c9-4a3b-9b10-fcbdff2df043</ActId> <ActMappingId>9b10665f-350e-442a-bc8c-358b70126c40</ActMappingId> <AssessmentCycleID>sample string 3</AssessmentCycleID> <ClientID>323250a4-b6e0-4746-ab47-ffe34568f272</ClientID> <ComplainceCategory>sample string 16</ComplainceCategory> <ComplainceCategoryDescription>sample string 17</ComplainceCategoryDescription> <ComplainceCategoryID>cd97fb0f-8349-4dbf-9625-3c993a77ca16</ComplainceCategoryID> <ComplainceDescription>sample string 19</ComplainceDescription> <ComplainceType>sample string 18</ComplainceType> <ComplainceTypeId>24e4ebf4-8a79-4817-af63-ff445131c52f</ComplainceTypeId> <Country>sample string 20</Country> <CountryDescription>sample string 21</CountryDescription> <CountryID>e256280d-a9f6-4c1c-a7b7-118fa1ce2e3b</CountryID> <EntityDescription>sample string 15</EntityDescription> <EntityID>579510e6-cf1a-4622-be80-01505016414f</EntityID> <LocationDescription>sample string 13</LocationDescription> <LocationID>5b2b643e-dd51-48d7-8445-10651dda3a30</LocationID> <StateID>9a988516-2beb-4804-a303-75d35c545b93</StateID> <entity>sample string 14</entity> <sn>sample string 1</sn> <totalcount>2</totalcount> </CustomActAndRules>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ClientMasterName | Description | Type | Additional information |
---|---|---|---|
ClientMasterID | globally unique identifier |
None. |
|
ClientName | string |
None. |
|
ClientDescription | string |
None. |
|
Location | string |
None. |
|
CreatedBy | globally unique identifier |
None. |
|
CreatedOn | date |
None. |
|
ModifiedBy | globally unique identifier |
None. |
|
ModifiedOn | date |
None. |
|
ExpiredOn | date |
None. |
|
Prefix | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ClientMasterID": "0c5a01a2-9ef9-4244-8fb1-092f6a59aff6", "ClientName": "sample string 2", "ClientDescription": "sample string 3", "Location": "sample string 4", "CreatedBy": "412a2af9-a19d-4858-afe1-a3439389e045", "CreatedOn": "2025-03-26T08:46:21.223197+00:00", "ModifiedBy": "4ff35373-a4b1-4dfc-91ad-1be586280522", "ModifiedOn": "2025-03-26T08:46:21.223197+00:00", "ExpiredOn": "2025-03-26T08:46:21.223197+00:00", "Prefix": "sample string 9" }
application/xml, text/xml
Sample:
<ClientMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRAApi.Models"> <ClientDescription>sample string 3</ClientDescription> <ClientMasterID>0c5a01a2-9ef9-4244-8fb1-092f6a59aff6</ClientMasterID> <ClientName>sample string 2</ClientName> <CreatedBy>412a2af9-a19d-4858-afe1-a3439389e045</CreatedBy> <CreatedOn>2025-03-26T08:46:21.223197+00:00</CreatedOn> <ExpiredOn>2025-03-26T08:46:21.223197+00:00</ExpiredOn> <Location>sample string 4</Location> <ModifiedBy>4ff35373-a4b1-4dfc-91ad-1be586280522</ModifiedBy> <ModifiedOn>2025-03-26T08:46:21.223197+00:00</ModifiedOn> <Prefix>sample string 9</Prefix> </ClientMaster>