POST api/{programid}/UserDocument/Add
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
programid | string |
Required |
Body Parameters
UserDocumentName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Type | string |
None. |
|
ConsumerId | string |
None. |
|
ProviderId | string |
None. |
|
AuthorizationId | string |
None. |
|
InvoiceId | string |
None. |
|
FileLocation | string |
None. |
|
FileName | string |
None. |
|
UserName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Type": "sample string 2", "ConsumerId": "sample string 3", "ProviderId": "sample string 4", "AuthorizationId": "sample string 5", "InvoiceId": "sample string 6", "FileLocation": "sample string 7", "FileName": "sample string 8", "UserName": "sample string 9" }
application/xml, text/xml
Sample:
<UserDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PPL.Services.Models.NavisionData.CommonClasses"> <AuthorizationId>sample string 5</AuthorizationId> <ConsumerId>sample string 3</ConsumerId> <FileLocation>sample string 7</FileLocation> <FileName>sample string 8</FileName> <Id>1</Id> <InvoiceId>sample string 6</InvoiceId> <ProviderId>sample string 4</ProviderId> <Type>sample string 2</Type> <UserName>sample string 9</UserName> </UserDocument>
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>