How will Route parameters look like, if the request link is like this:
Cash/Users/{UserId}/Transactions?PartnerUserSessionKey={PartnerUserSessionKey}
Something like this ?
[Route("cash/users/{userid}/transactions")]
private void CreateCashTransaction(int userid,[FromUri] Transaction transaction, Someclass otherinfo) {}
Where Someclass is additional info which is not included in Url
Thanks in advance.
Aucun commentaire:
Enregistrer un commentaire