...
Assume the ITC has established a resource archive called "W2" which contains archives of PDF W2 Forms by employee for multiple tax years. The following are valid requests and the like responses:
HTML Table |
---|
|
Table Row (tr) |
---|
Table Head (th) |
---|
Looks like |
|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
UWC Wiki Markup |
---|
{table:border=1}
{tr}
{th}You type {th}
{th}Looks like{th}
{tr}
{tr}
{td:valign=top}
~UWC_TOKEN_START~1292862896731~UWC_TOKEN_ END Table Cell (td) |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
|
|
Or with line numbering:
UWCEND~
{td}
{td}
{td}
{tr}
{tr}
{td:valign=top}
Or with line numbering:
~UWC_TOKEN_START~1292862896732~UWC_TOKEN_
END Table Cell (td) |
---|
HTML Table |
---|
|
Table Row (tr) |
---|
Table Cell (td) |
---|
END~
{td}
{td}
{table:border=1}
{tr}
{th}Request{th}
{th}Response{th}
{tr}
{tr}
{td}/resource/W2?employee.id=EMP0001&tax.year=2008
Table Cell (td) |
---|
{td}
{td}Content-type: application/pdf
Table Row (tr) |
---|
Table Cell (td) |
---|
{td}
{tr}
{tr}
{td}/resource/W2?employee.id=EMP0001&tax.year=4008
Table Cell (td) |
---|
HTTP 404 Response (not found) |
Table Row (tr) |
---|
Table Cell (td) |
---|
|
{td}
{td}HTTP 404 Response (not found){td}
{tr}
{tr}
{td:valign=top}/resource/W2?employee.id=EMP0001&tax.year=\*
Table Cell (td) |
Returns all {td}
{td}Returns all URL's found for the specified employee
{panel
}
Content-type: text/x-resources
Body:
[http://host/uspssoap/resource/W2?employee.id=EMP0001&tax.year=2007
]
[http://host/uspssoap/resource/W2?employee.id=EMP0001&tax.year=2008
]
. .
. Table Row (tr) |
---|
Table Cell (td) |
---|
|
.
{panel}
{td}
{tr}
{tr}
{td:valign=top}/resource/W2?employee.id=*&tax.year=2008
Table Cell (td) |
Returns all {td}
{td}Returns all URL's for all documents for the specified year
{panel
}
Content-type: text/x-resources
Body:
[http://host/uspssoap/resource/W2?employee.id=EMP0001&tax.year=2008
]
[http://host/uspssoap/resource/W2?employee.id=EMP0002&tax.year=2008
]
[http://host/uspssoap/resource/W2?employee.id=EMP0003&tax.year=2008
]
[http://host/uspssoap/resource/W2?employee.id=EMP0004&tax.year=2008
]
. . .
Table Row (tr) |
---|
HTML Table |
---|
|
Table Head (th) |
---|
Table Row (tr) |
---|
Table Cell (td) | WS-I is a trademark of the Web Services-Interoperability Organization in the United States and other countries.
{panel}
{td}
{tr}
{table} |
...
Wiki Markup |
---|
{table:border=1}
{th}{th}
{th}Footnotes{th}
{tr}
{td}1{td}
{td}WS-I is a trademark of the Web Services-Interoperability Organization in the United States and other countries.{td}
{tr}
{table} |