POST api/vendors/{vendorId}/attachments
Insert vendor attachmente
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| vendorId |
|
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
VendorAttachmentViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorAttachmentsId |
VendorAttachmentsId |
integer |
None. |
| FileName |
FileName |
string |
None. |
| User |
User |
string |
None. |
| ModifiedOn |
ModifiedOn |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"vendorAttachmentsId": 1,
"fileName": "sample string 2",
"user": "sample string 3",
"modifiedOn": "sample string 4"
}
application/xml, text/xml
Sample:
<VendorAttachmentViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <FileName>sample string 2</FileName> <ModifiedOn>sample string 4</ModifiedOn> <User>sample string 3</User> <VendorAttachmentsId>1</VendorAttachmentsId> </VendorAttachmentViewModel>