POST api/SubClauseAnswer/SyncBulkSubClauseAnswer
Request Information
URI Parameters
None.
Body Parameters
Collection of SubClauseAnswerName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
InspectionId | integer |
None. |
|
SubClauseId | integer |
None. |
|
StageMasterId | string |
None. |
|
TypeOfVerificationMasterId | string |
None. |
|
Comment | string |
None. |
|
AnswerTypeId | integer |
None. |
|
CreatedBy | integer |
None. |
|
CreatedDate | date |
None. |
|
LastModifiedBy | integer |
None. |
|
LastModifiedDate | date |
None. |
|
DeletedBy | integer |
None. |
|
DeletedDate | date |
None. |
|
CreatedByName | string |
None. |
|
CompletedByName | string |
None. |
|
LocalId | integer |
None. |
|
InspectionLocalId | integer |
None. |
|
StageMasterIds | Collection of integer |
None. |
|
TypeOfVerificationMasterIds | Collection of integer |
None. |
|
SubClauseStages | Collection of SubClauseStage |
None. |
|
SubClauseTypeOfVerifications | Collection of SubClauseTypeOfVerification |
None. |
|
StageMasterIdName | string |
None. |
|
TypeOfVerificationMasterIdName | string |
None. |
|
InspectionIsCompleted | boolean |
None. |
|
InspectionInspectorId | integer |
None. |
|
SubClauseAnswersCounts | integer |
None. |
|
PassCounts | integer |
None. |
|
FailCounts | integer |
None. |
|
NACounts | integer |
None. |
Request Formats
application/json, text/json
Sample:
[ { "Id": 1, "InspectionId": 2, "SubClauseId": 3, "StageMasterId": "sample string 4", "TypeOfVerificationMasterId": "sample string 5", "Comment": "sample string 6", "AnswerTypeId": 7, "CreatedBy": 8, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 10, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedByName": "sample string 12", "CompletedByName": "sample string 13", "LocalId": 14, "InspectionLocalId": 15, "StageMasterIds": [ 1, 2 ], "TypeOfVerificationMasterIds": [ 1, 2 ], "SubClauseStages": [ { "Id": 1, "SubClauseId": 2, "StageId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "StageCode": "sample string 8", "StageName": "sample string 9" }, { "Id": 1, "SubClauseId": 2, "StageId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "StageCode": "sample string 8", "StageName": "sample string 9" } ], "SubClauseTypeOfVerifications": [ { "Id": 1, "SubClauseId": 2, "TypeOfVerificationId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "TypeOfVerificationCode": "sample string 8", "TypeOfVerificationName": "sample string 9" }, { "Id": 1, "SubClauseId": 2, "TypeOfVerificationId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "TypeOfVerificationCode": "sample string 8", "TypeOfVerificationName": "sample string 9" } ], "StageMasterIdName": "sample string 16", "TypeOfVerificationMasterIdName": "sample string 17", "InspectionIsCompleted": true, "InspectionInspectorId": 19, "SubClauseAnswersCounts": 20, "PassCounts": 21, "FailCounts": 22, "NACounts": 23 }, { "Id": 1, "InspectionId": 2, "SubClauseId": 3, "StageMasterId": "sample string 4", "TypeOfVerificationMasterId": "sample string 5", "Comment": "sample string 6", "AnswerTypeId": 7, "CreatedBy": 8, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 10, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedByName": "sample string 12", "CompletedByName": "sample string 13", "LocalId": 14, "InspectionLocalId": 15, "StageMasterIds": [ 1, 2 ], "TypeOfVerificationMasterIds": [ 1, 2 ], "SubClauseStages": [ { "Id": 1, "SubClauseId": 2, "StageId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "StageCode": "sample string 8", "StageName": "sample string 9" }, { "Id": 1, "SubClauseId": 2, "StageId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "StageCode": "sample string 8", "StageName": "sample string 9" } ], "SubClauseTypeOfVerifications": [ { "Id": 1, "SubClauseId": 2, "TypeOfVerificationId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "TypeOfVerificationCode": "sample string 8", "TypeOfVerificationName": "sample string 9" }, { "Id": 1, "SubClauseId": 2, "TypeOfVerificationId": 3, "CreatedDate": "2025-08-29T20:22:16.7919552+00:00", "CreatedBy": 5, "LastModifiedDate": "2025-08-29T20:22:16.7919552+00:00", "LastModifiedBy": 7, "DeletedDate": "2025-08-29T20:22:16.7919552+00:00", "DeletedBy": 1, "TypeOfVerificationCode": "sample string 8", "TypeOfVerificationName": "sample string 9" } ], "StageMasterIdName": "sample string 16", "TypeOfVerificationMasterIdName": "sample string 17", "InspectionIsCompleted": true, "InspectionInspectorId": 19, "SubClauseAnswersCounts": 20, "PassCounts": 21, "FailCounts": 22, "NACounts": 23 } ]
application/xml, text/xml
Sample:
<ArrayOfSubClauseAnswer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSCWebAPI.Domain"> <SubClauseAnswer> <AnswerTypeId>7</AnswerTypeId> <Comment>sample string 6</Comment> <CompletedByName>sample string 13</CompletedByName> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 12</CreatedByName> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <FailCounts>22</FailCounts> <Id>1</Id> <InspectionId>2</InspectionId> <InspectionInspectorId>19</InspectionInspectorId> <InspectionIsCompleted>true</InspectionIsCompleted> <InspectionLocalId>15</InspectionLocalId> <LastModifiedBy>10</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <LocalId>14</LocalId> <NACounts>23</NACounts> <PassCounts>21</PassCounts> <StageMasterId>sample string 4</StageMasterId> <StageMasterIdName>sample string 16</StageMasterIdName> <StageMasterIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </StageMasterIds> <SubClauseAnswersCounts>20</SubClauseAnswersCounts> <SubClauseId>3</SubClauseId> <SubClauseStages> <SubClauseStage> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <StageCode>sample string 8</StageCode> <StageId>3</StageId> <StageName>sample string 9</StageName> <SubClauseId>2</SubClauseId> </SubClauseStage> <SubClauseStage> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <StageCode>sample string 8</StageCode> <StageId>3</StageId> <StageName>sample string 9</StageName> <SubClauseId>2</SubClauseId> </SubClauseStage> </SubClauseStages> <SubClauseTypeOfVerifications> <SubClauseTypeOfVerification> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <SubClauseId>2</SubClauseId> <TypeOfVerificationCode>sample string 8</TypeOfVerificationCode> <TypeOfVerificationId>3</TypeOfVerificationId> <TypeOfVerificationName>sample string 9</TypeOfVerificationName> </SubClauseTypeOfVerification> <SubClauseTypeOfVerification> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <SubClauseId>2</SubClauseId> <TypeOfVerificationCode>sample string 8</TypeOfVerificationCode> <TypeOfVerificationId>3</TypeOfVerificationId> <TypeOfVerificationName>sample string 9</TypeOfVerificationName> </SubClauseTypeOfVerification> </SubClauseTypeOfVerifications> <TypeOfVerificationMasterId>sample string 5</TypeOfVerificationMasterId> <TypeOfVerificationMasterIdName>sample string 17</TypeOfVerificationMasterIdName> <TypeOfVerificationMasterIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </TypeOfVerificationMasterIds> </SubClauseAnswer> <SubClauseAnswer> <AnswerTypeId>7</AnswerTypeId> <Comment>sample string 6</Comment> <CompletedByName>sample string 13</CompletedByName> <CreatedBy>8</CreatedBy> <CreatedByName>sample string 12</CreatedByName> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <FailCounts>22</FailCounts> <Id>1</Id> <InspectionId>2</InspectionId> <InspectionInspectorId>19</InspectionInspectorId> <InspectionIsCompleted>true</InspectionIsCompleted> <InspectionLocalId>15</InspectionLocalId> <LastModifiedBy>10</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <LocalId>14</LocalId> <NACounts>23</NACounts> <PassCounts>21</PassCounts> <StageMasterId>sample string 4</StageMasterId> <StageMasterIdName>sample string 16</StageMasterIdName> <StageMasterIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </StageMasterIds> <SubClauseAnswersCounts>20</SubClauseAnswersCounts> <SubClauseId>3</SubClauseId> <SubClauseStages> <SubClauseStage> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <StageCode>sample string 8</StageCode> <StageId>3</StageId> <StageName>sample string 9</StageName> <SubClauseId>2</SubClauseId> </SubClauseStage> <SubClauseStage> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <StageCode>sample string 8</StageCode> <StageId>3</StageId> <StageName>sample string 9</StageName> <SubClauseId>2</SubClauseId> </SubClauseStage> </SubClauseStages> <SubClauseTypeOfVerifications> <SubClauseTypeOfVerification> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <SubClauseId>2</SubClauseId> <TypeOfVerificationCode>sample string 8</TypeOfVerificationCode> <TypeOfVerificationId>3</TypeOfVerificationId> <TypeOfVerificationName>sample string 9</TypeOfVerificationName> </SubClauseTypeOfVerification> <SubClauseTypeOfVerification> <CreatedBy>5</CreatedBy> <CreatedDate>2025-08-29T20:22:16.7919552+00:00</CreatedDate> <DeletedBy>1</DeletedBy> <DeletedDate>2025-08-29T20:22:16.7919552+00:00</DeletedDate> <Id>1</Id> <LastModifiedBy>7</LastModifiedBy> <LastModifiedDate>2025-08-29T20:22:16.7919552+00:00</LastModifiedDate> <SubClauseId>2</SubClauseId> <TypeOfVerificationCode>sample string 8</TypeOfVerificationCode> <TypeOfVerificationId>3</TypeOfVerificationId> <TypeOfVerificationName>sample string 9</TypeOfVerificationName> </SubClauseTypeOfVerification> </SubClauseTypeOfVerifications> <TypeOfVerificationMasterId>sample string 5</TypeOfVerificationMasterId> <TypeOfVerificationMasterIdName>sample string 17</TypeOfVerificationMasterIdName> <TypeOfVerificationMasterIds xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>1</d3p1:int> <d3p1:int>2</d3p1:int> </TypeOfVerificationMasterIds> </SubClauseAnswer> </ArrayOfSubClauseAnswer>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.