POST api/OCRMaster
Request Information
URI Parameters
None.
Body Parameters
Z_OCRMasterDetailRequestName | Description | Type | Additional information |
---|---|---|---|
ocrmaster | O_OCRMaster |
None. |
|
ocrattachment | Collection of O_OCRAttachment |
None. |
Request Formats
application/json, text/json
Sample:
{ "ocrmaster": { "Id": 1, "ComplaintNo": 2, "UserId": "sample string 3", "ModuleId": 1, "MailSubject": "sample string 4", "Description": "sample string 5", "Status": "sample string 6", "MailSendFlag": "sample string 7", "BranchCode": 8, "CreatedBy": 1, "CreatedOn": "2025-04-03T19:53:19.3457463+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-04-03T19:53:19.3457463+00:00" }, "ocrattachment": [ { "Id": 1, "ComplaintNo": 1, "FileName": "sample string 2", "Path": "sample string 3", "FileSequenceNo": 1, "ActionSrNo": 1, "BranchCode": 4, "CreatedBy": 1, "CreatedOn": "2025-04-03T19:53:19.3457463+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-04-03T19:53:19.3457463+00:00" }, { "Id": 1, "ComplaintNo": 1, "FileName": "sample string 2", "Path": "sample string 3", "FileSequenceNo": 1, "ActionSrNo": 1, "BranchCode": 4, "CreatedBy": 1, "CreatedOn": "2025-04-03T19:53:19.3457463+00:00", "ModifiedBy": 1, "ModifiedOn": "2025-04-03T19:53:19.3457463+00:00" } ] }
application/xml, text/xml
Sample:
<Z_OCRMasterDetailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RREL.Data.Models"> <ocrattachment> <O_OCRAttachment> <ActionSrNo>1</ActionSrNo> <BranchCode>4</BranchCode> <ComplaintNo>1</ComplaintNo> <CreatedBy>1</CreatedBy> <CreatedOn>2025-04-03T19:53:19.3457463+00:00</CreatedOn> <FileName>sample string 2</FileName> <FileSequenceNo>1</FileSequenceNo> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-04-03T19:53:19.3457463+00:00</ModifiedOn> <Path>sample string 3</Path> </O_OCRAttachment> <O_OCRAttachment> <ActionSrNo>1</ActionSrNo> <BranchCode>4</BranchCode> <ComplaintNo>1</ComplaintNo> <CreatedBy>1</CreatedBy> <CreatedOn>2025-04-03T19:53:19.3457463+00:00</CreatedOn> <FileName>sample string 2</FileName> <FileSequenceNo>1</FileSequenceNo> <Id>1</Id> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-04-03T19:53:19.3457463+00:00</ModifiedOn> <Path>sample string 3</Path> </O_OCRAttachment> </ocrattachment> <ocrmaster> <BranchCode>8</BranchCode> <ComplaintNo>2</ComplaintNo> <CreatedBy>1</CreatedBy> <CreatedOn>2025-04-03T19:53:19.3457463+00:00</CreatedOn> <Description>sample string 5</Description> <Id>1</Id> <MailSendFlag>sample string 7</MailSendFlag> <MailSubject>sample string 4</MailSubject> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2025-04-03T19:53:19.3457463+00:00</ModifiedOn> <ModuleId>1</ModuleId> <Status>sample string 6</Status> <UserId>sample string 3</UserId> </ocrmaster> </Z_OCRMasterDetailRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |