Advertisement
Guest User

Untitled

a guest
Dec 17th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. \subsection{I49: Listar as Linhas de Ciclo de Vendar}
  2.  
  3. \begin{table}[h!]
  4. \centering
  5. \begin{tabular}{|c|c|}
  6. \hline
  7. \textbf{Webservice ID} & GetLinhaCV(idOp, idLinha)\\ \hline
  8. \textbf{Webservice Description} & Permite listar as linhas de um ciclo de venda\\ \hline
  9. \textbf{Related Core View(s)} & - \\ \hline
  10. \textbf{Path} &http://localhost:49822/api/LinhaCicloVenda/GetLinhaCV \\ & ?idOp=\textless idOp\textgreater idLinha=\textless idLinha \\ \hline
  11. \textbf{Method} & GET \\ \hline
  12. \textbf{Input Example} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}\{\\ id=\{816B85C7-98E3-11DC-A3E8-0020E024149C\}, \\ idLinha=\{E169F197-D41B-4150-9C3D-1B68FE35019F\}\end{tabular}} \\ \hline
  13. \textbf{Expected Output} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Success:\\\{\\ "IdOp": IdOp, \\ "IdLinha": IdLinha,\\ "Estado": Estado\\ \} \hline
  14. \end{tabular}
  15. \end{table}
  16.  
  17.  
  18. \subsection{I50: Editar uma Linha de Ciclo de Venda}
  19.  
  20. \begin{table}[h!]
  21. \centering
  22. \begin{tabular}{|c|c|}
  23. \hline
  24. \textbf{Webservice ID} & UpdLinhaCicloVenda(LinhaCicloVenda) \\ \hline
  25. \textbf{Webservice Description} & Permite editar a informação relacionada com uma linha do ciclo de venda\\ \hline
  26. \textbf{Related Core View(s)} & - \\ \hline
  27. \textbf{Path} & http://localhost:49822/api//LinhaCicloVenda\textless id\\ \hline
  28. \textbf{Method} & PUT \\ \hline
  29. \textbf{Input Example} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}\{\\ "IdOp": Id,\\ "IdLinha": IdLinha,\\ "Estado": Estado \\ \hline
  30. \textbf{Expected Output} & \multicolumn{1}{l|}{\begin{tabular}[c]{@{}l@{}}Success:\\\{\\ "result": 1 \\ \}\\Wrong LinhaCicloVenda ID:\\ \{ \\ "result": 0 \\ \}\end{tabular}} \\ \hline
  31. \end{tabular}
  32. \end{table}
  33.  
  34. \clearpage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement