POST api/MobileSPNeeds/PostMobileSPNeeds
POST - Device Specific Needs
Request Information
URI Parameters
None.
Body Parameters
Specific Needs Model
VMobileSPNeeds| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId |
Event Id |
globally unique identifier |
None. |
| IsRegisteredUNHCR |
Is Registered with UNHCR |
boolean |
None. |
| UNHCRCaseNumber |
UNHCR Case Number |
string |
None. |
| UNHCRIndividualID |
UNHCR Individual Number |
string |
None. |
| UNHCRSPNeedGuid |
UNHCR SP Need Id |
globally unique identifier |
None. |
| DeviceGroupID |
Device Group ID |
globally unique identifier |
None. |
| DeviceIndividualID |
Device Individual ID |
globally unique identifier |
None. |
| SPNeedCode |
SP Needs Code |
string |
None. |
| SPNeedCodeDetails |
SP Need Details Code |
string |
None. |
| SPNeedStartDate |
SP Start Date |
date |
None. |
| SPNeedEndDate |
SP EndDate |
date |
None. |
| Comment |
Comment |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventId": "3bb835d2-8baa-416d-adb2-36ec2674cbc0",
"IsRegisteredUNHCR": true,
"UNHCRCaseNumber": "sample string 3",
"UNHCRIndividualID": "sample string 4",
"UNHCRSPNeedGuid": "b8709794-c285-4390-8de8-7186f7910776",
"DeviceGroupID": "745a7f25-b3fa-4511-8f8d-5d6842fe5412",
"DeviceIndividualID": "1859caad-d871-4c24-98df-50b6e1d633b1",
"SPNeedCode": "sample string 5",
"SPNeedCodeDetails": "sample string 6",
"SPNeedStartDate": "2026-02-04T03:55:26.0190683+00:00",
"SPNeedEndDate": "2026-02-04T03:55:26.0190683+00:00",
"Comment": "sample string 7"
}
application/xml, text/xml
Sample:
<VMobileSPNeeds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <EventId>3bb835d2-8baa-416d-adb2-36ec2674cbc0</EventId> <IsRegisteredUNHCR>true</IsRegisteredUNHCR> <UNHCRCaseNumber>sample string 3</UNHCRCaseNumber> <UNHCRIndividualID>sample string 4</UNHCRIndividualID> <UNHCRSPNeedGuid>b8709794-c285-4390-8de8-7186f7910776</UNHCRSPNeedGuid> <DeviceGroupID>745a7f25-b3fa-4511-8f8d-5d6842fe5412</DeviceGroupID> <DeviceIndividualID>1859caad-d871-4c24-98df-50b6e1d633b1</DeviceIndividualID> <SPNeedCode>sample string 5</SPNeedCode> <SPNeedCodeDetails>sample string 6</SPNeedCodeDetails> <SPNeedStartDate>2026-02-04T03:55:26.0190683+00:00</SPNeedStartDate> <SPNeedEndDate>2026-02-04T03:55:26.0190683+00:00</SPNeedEndDate> <Comment>sample string 7</Comment> </VMobileSPNeeds>
application/x-www-form-urlencoded
Sample:
Sample not available.
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EventId" 3bb835d2-8baa-416d-adb2-36ec2674cbc0 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="IsRegisteredUNHCR" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="UNHCRCaseNumber" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="UNHCRIndividualID" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="UNHCRSPNeedGuid" b8709794-c285-4390-8de8-7186f7910776 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DeviceGroupID" 745a7f25-b3fa-4511-8f8d-5d6842fe5412 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DeviceIndividualID" 1859caad-d871-4c24-98df-50b6e1d633b1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SPNeedCode" sample string 5 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SPNeedCodeDetails" sample string 6 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SPNeedStartDate" 2026-02-04T03:55:26.0190683+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="SPNeedEndDate" 2026-02-04T03:55:26.0190683+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Comment" sample string 7 --MultipartDataMediaFormatterBoundary1q2w3e--
Response Information
Resource Description
HTTP Status Code and Device Specific Needs Id
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.