POST api/Registration/DcoumentUpload/insertRecord
Request Information
URI Parameters
None.
Body Parameters
DcoumentUpload| Name | Description | Type | Additional information |
|---|---|---|---|
| RefrenceId | integer |
None. |
|
| DocumentFileTypeId | integer |
None. |
|
| DocumentId | integer |
None. |
|
| Status | string |
None. |
|
| BranchKey | string |
None. |
|
| Attachments | Collection of DcoumentType |
None. |
Request Formats
application/json, text/json
Sample:
{
"RefrenceId": 1,
"DocumentFileTypeId": 2,
"DocumentId": 3,
"Status": "sample string 4",
"BranchKey": "sample string 5",
"Attachments": [
{
"DocumentTypeId": 1,
"FilePath": "sample string 2"
},
{
"DocumentTypeId": 1,
"FilePath": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<DcoumentUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZenoxERP.API.Models.Extensions">
<Attachments>
<DcoumentType>
<DocumentTypeId>1</DocumentTypeId>
<FilePath>sample string 2</FilePath>
</DcoumentType>
<DcoumentType>
<DocumentTypeId>1</DocumentTypeId>
<FilePath>sample string 2</FilePath>
</DcoumentType>
</Attachments>
<BranchKey>sample string 5</BranchKey>
<DocumentFileTypeId>2</DocumentFileTypeId>
<DocumentId>3</DocumentId>
<RefrenceId>1</RefrenceId>
<Status>sample string 4</Status>
</DcoumentUpload>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>