Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default plan payload sample #702

Open
dubdabasoduba opened this issue Jun 21, 2021 · 2 comments
Open

Default plan payload sample #702

dubdabasoduba opened this issue Jun 21, 2021 · 2 comments
Labels
Documentation Improvements or additions to documentation

Comments

@dubdabasoduba
Copy link
Member

dubdabasoduba commented Jun 21, 2021

{
  "identifier": "27362060-0309-411a-910c-64f55ede3758",
  "version": "1",
  "name": "Default Plan 2020-11-24",
  "title": "Default Plan 2020-11-24",
  "status": "active",
  "date": "2020-11-24",
  "effectivePeriod": {
    "start": "2020-11-24",
 "end": "2200-12-31"
  },
  "useContext": [
    {
      "code": "taskGenerationStatus",
      "valueCodableConcept": "internal"
    }
  ],
  "jurisdiction": [
    {
      "code": "02ebbc84-5e29-4cd5-9b79-c594058923e9" // -- this should be the uuid for the root location for the prefered assigned hierarchy
    }
  ],
  "goal": [],
  "action": [],
  "experimental": false
}
@dubdabasoduba
Copy link
Member Author

{base_url}/opensrp/rest/plans

@chobela
Copy link

chobela commented Apr 19, 2023

Hi @dubdabasoduba We are currently facing this issue. When I post my Payload to https://opensrp.mtaps.bluecodeltd.com/opensrp/rest/plans, I get { "message": "NOT_FOUND", "status": "404 NOT_FOUND", "data": null, "success": false }

What could be the problem?

I am using image: opensrp/opensrp-server-web:v2.8.31-SNAPSHOT and image: opensrp/web:v2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants