POST api/BatchEstimate/BatchEstimateSubmit
Request Information
URI Parameters
None.
Body Parameters
defBatchEstimateName | Description | Type | Additional information |
---|---|---|---|
Type | string |
None. |
|
ResultCodeText | string |
None. |
|
ResultCode | integer |
None. |
|
LoggedInUserId | integer |
None. |
|
ApprovalComment | string |
None. |
|
UserEmailId | string |
None. |
|
UserType | integer |
None. |
|
ClosedWithOriginalCodeForReview | boolean |
None. |
|
EstimateList | Collection of defSingleBatchEstimate |
None. |
Request Formats
application/json, text/json
Sample:
{ "Type": "sample string 1", "ResultCodeText": "sample string 2", "ResultCode": 3, "LoggedInUserId": 4, "ApprovalComment": "sample string 5", "UserEmailId": "sample string 6", "UserType": 7, "ClosedWithOriginalCodeForReview": true, "EstimateList": [ { "EstimateRefId": 1, "DepotCode": "sample string 2", "CustomerID": 3, "EstimateType": "sample string 4", "SurvyeType": "sample string 5", "UpdatedDate": "sample string 6", "IsActiveDepotTariffFeature": true, "EstimateId": 8, "EstimateStatus": "sample string 9", "EstimateNumber": "sample string 10", "OriginalCodeId": 11, "OriginalResultCodeText": "sample string 12", "AssignedToSurveyor": 13, "SurveyTypeStatus": "sample string 14" }, { "EstimateRefId": 1, "DepotCode": "sample string 2", "CustomerID": 3, "EstimateType": "sample string 4", "SurvyeType": "sample string 5", "UpdatedDate": "sample string 6", "IsActiveDepotTariffFeature": true, "EstimateId": 8, "EstimateStatus": "sample string 9", "EstimateNumber": "sample string 10", "OriginalCodeId": 11, "OriginalResultCodeText": "sample string 12", "AssignedToSurveyor": 13, "SurveyTypeStatus": "sample string 14" } ] }
application/xml, text/xml
Sample:
<defBatchEstimate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomLayer.Estimates"> <ApprovalComment>sample string 5</ApprovalComment> <ClosedWithOriginalCodeForReview>true</ClosedWithOriginalCodeForReview> <EstimateList> <defSingleBatchEstimate> <AssignedToSurveyor>13</AssignedToSurveyor> <CustomerID>3</CustomerID> <DepotCode>sample string 2</DepotCode> <EstimateId>8</EstimateId> <EstimateNumber>sample string 10</EstimateNumber> <EstimateRefId>1</EstimateRefId> <EstimateStatus>sample string 9</EstimateStatus> <EstimateType>sample string 4</EstimateType> <IsActiveDepotTariffFeature>true</IsActiveDepotTariffFeature> <OriginalCodeId>11</OriginalCodeId> <OriginalResultCodeText>sample string 12</OriginalResultCodeText> <SurveyTypeStatus>sample string 14</SurveyTypeStatus> <SurvyeType>sample string 5</SurvyeType> <UpdatedDate>sample string 6</UpdatedDate> </defSingleBatchEstimate> <defSingleBatchEstimate> <AssignedToSurveyor>13</AssignedToSurveyor> <CustomerID>3</CustomerID> <DepotCode>sample string 2</DepotCode> <EstimateId>8</EstimateId> <EstimateNumber>sample string 10</EstimateNumber> <EstimateRefId>1</EstimateRefId> <EstimateStatus>sample string 9</EstimateStatus> <EstimateType>sample string 4</EstimateType> <IsActiveDepotTariffFeature>true</IsActiveDepotTariffFeature> <OriginalCodeId>11</OriginalCodeId> <OriginalResultCodeText>sample string 12</OriginalResultCodeText> <SurveyTypeStatus>sample string 14</SurveyTypeStatus> <SurvyeType>sample string 5</SurvyeType> <UpdatedDate>sample string 6</UpdatedDate> </defSingleBatchEstimate> </EstimateList> <LoggedInUserId>4</LoggedInUserId> <ResultCode>3</ResultCode> <ResultCodeText>sample string 2</ResultCodeText> <Type>sample string 1</Type> <UserEmailId>sample string 6</UserEmailId> <UserType>7</UserType> </defBatchEstimate>
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.