| POST | /users_boxes |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AppUserId | body | long | Yes | |
| AuthAppUserId | body | long | Yes | |
| DeploymentDate | body | DateTime | Yes | |
| NumberBoxes | body | int | Yes | |
| RecipientType | body | string | Yes | |
| FoodGardensId | body | long? | No | |
| OtherDescription | body | string | No | |
| PublicAccessGuid | body | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| AppUserId | form | long | No | |
| AuthAppUserId | form | long | No | |
| DeploymentDate | form | DateTime | No | |
| NumberBoxes | form | int | No | |
| RecipientType | form | string | No | |
| FoodGardensId | form | long? | No | |
| OtherDescription | form | string | No | |
| PublicAccessGuid | form | Guid | No | |
| ResponseStatus | form | ResponseStatus | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /users_boxes HTTP/1.1
Host: api.sfgtec.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"appUserId":0,"authAppUserId":0,"deploymentDate":"\/Date(-62135596800000-0000)\/","numberBoxes":0,"recipientType":"String","foodGardensId":0,"otherDescription":"String","publicAccessGuid":"00000000000000000000000000000000"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"appUserId":0,"authAppUserId":0,"deploymentDate":"\/Date(-62135596800000-0000)\/","numberBoxes":0,"recipientType":"String","foodGardensId":0,"otherDescription":"String","publicAccessGuid":"00000000000000000000000000000000","responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}