sys-team / STProxy

0 stars 0 forks source link

Многоуровневый POST/PUT/PATCH #53

Open alevinru opened 9 years ago

alevinru commented 9 years ago

PUT /api/v3/un/stg.user/7e9d6d44-eb51-11e4-8000-843b90ba0292/stg.IncidentTypeSubscription/e59e9bd1-24c2-11e5-8000-f9ca85a267f9

{
  "id":"e59e9bd1-24c2-11e5-8000-f9ca85a267f9",
  "isActive":"1",
  "incidentType":"8dc85cef-177e-11e5-8000-8164fd4ff99a"
}
<post>
 <d name="stg.IncidentTypeSubscription" xid="7e9d6d44-eb51-11e4-8000-843b90ba0292">
   <double name="isActive">1</double>
   <d name="incidentType" xid="8dc85cef-177e-11e5-8000-8164fd4ff99a"/>
   <d name="stg.user" xid="7e9d6d44-eb51-11e4-8000-843b90ba0292"> 
 </d>
</post>