-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOneTooXRestArchiveTest.xml
39 lines (39 loc) · 1.64 KB
/
OneTooXRestArchiveTest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0"?>
<doc>
<assembly>
<name>OneTooXRestArchiveTest</name>
</assembly>
<members>
<member name="M:OneTooXRestArchiveTest.Controllers.ArchiveController.Post(OneTooX.RestPush.Model.ArchiveMessage)">
<summary>
Post the archive message.
</summary>
<remarks>
The Content-Type header must be set and correspond to the content of the body.
<br/>
Use the Accept header to control the format of the response. Possible values are application/json (default) and application/xml.
<br/><br/>
If the invocation succeeds HTTP status code 200 is returned.
<br/>
If the invocation fails a problem details object is returned. The problem details object follows the guidelines in <a href="https://tools.ietf.org/html/rfc7807">RFC-7807</a>.
The following problem types are explicitly supported by the archive client:
<dl>
<li>
<dt>https://onetoox.dk/unknown-receiver</dt>
<dd>The receiver is not known in the receiving system</dd>
</li>
<li>
<dt>https://onetoox.dk/invalid-archive-category</dt>
<dd>The archive category is not valid</dd>
</li>
<li>
<dt>https://onetoox.dk/validation-error</dt>
<dd>Validation error. The specific error is described by the title and detail attributes</dd>
</li>
</dl>
</remarks>
<param name="archiveMessage"></param>
<returns></returns>
</member>
</members>
</doc>